Jump to content

Effect like YMIR, WARP etc.


Recommended Posts

Hi guys, i would like to do new effect for GM_IMPLEMENTOR with src, i know that is the way in python, but i would like to do like this. So i change:

 

Game src: Affect.h -> enum EAffectBits

    AFF_YMIR_IMPLEMENTOR = 42,

and 

enum EAffectTypes

AFFECT_YMIR_IMPLEMENTOR = 227,

Char.cpp

        if (GetGMLevel() == GM_IMPLEMENTOR)
        {
            m_afAffectFlag.Set(AFF_YMIR_IMPLEMENTOR);
            m_bPKMode = PK_MODE_PROTECT;
        }

 

Client src: 

InstanceBase.h

AFFECT_YMIR_IMPLEMENTOR = 42,

and 

NEW_AFFECT_YMIR_IMPLEMENTOR = 227,

Client: playersettingmodule.py

    chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+42, "Bip01", localeInfo.FN_GM_MARK)

 

But ingame i cant effect on player which is Implementor. Any help what i have left? Or any idea? Thank you

But ingame i cant see effect

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.