[Help C++] EnterEvadeMode

Hello, I have a small problem with my NPC. I tried to create an easy boss and I used EnterEvadeMode function. NPC has spell that throw me up and when I am in the air NPC begins spam message until I fall down. Is there any way I can fix it ?


void EnterEvadeMode() OVERRIDE { me->MonsterYell(YELL_EVADE, LANG_UNIVERSAL, NULL); Reset(); }

Do not call Reset() inside EnterEvadeMode hooks

Maybe something we should add to the documentation of Reset?

— Canned message start —

This thread is not related to the official Trinity codebase and was moved to the Custom Code section.

Please read the stickies next time.

— Canned message end —