kissingers
kissingers
> > Disengagement because this code: me->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NON_ATTACKABLE); As soon as move to the last line of this judgment (originally in the third line), it almost never get out...
So I think if it can be fixed such as Archimonde, It is work for Archimonde out of combat. https://github.com/azerothcore/azerothcore-wotlk/pull/15128/commits/3f9c8a889ffb3866bcadb3236dc85662385511f8 reset add REACT_AGGRESSIVE. also need add RemoveUnitFlag , if not...
I dont know how to push a fix request, so who can do it?
[boss_illidan.zip](https://github.com/azerothcore/azerothcore-wotlk/files/11752185/boss_illidan.zip)
IF there is any boss cast spell between me->SetReactState(REACT_PASSIVE); and me->SetReactState(REACT_AGGRESSIVE); the server might crash. but not always. one player test will never crash. 25 player sometime will crash. are...
[illidan crash.zip](https://github.com/azerothcore/azerothcore-wotlk/files/11752232/illidan.crash.zip)
Here can't use gist , replace with pastebin https://pastebin.com/bkkNBgZ8 crash condition: me->SetReactState(REACT_PASSIVE); add before SPELL_SHADOW_PRISON and me->SetReactState(REACT_AGGRESSIVE); add after finish SPELL_SHADOW_PRISON. case EVENT_PHASE_5_START: if (me->HealthBelowPct(30)) { me->SetReactState(REACT_PASSIVE); me->CastSpell(me, SPELL_SHADOW_PRISON, true);...
after this self fix never out of combat \ reset boss can not attack \ can not dialogue akama \ after kill boss, can not out ouf combat \server crash...
Thanks for your fix work, but I try test sometimes, it seems not same as you test. If only add me->SetReactState(REACT_AGGRESSIVE) in case EVENT_PHASE_5_SCENE1: will out of combit. and if...
> @kissingers  现在,像这样放置并测试 test false. after finish SPELL_SHADOW_PRISON , then use .gm on simulation all player died, the boss will still fight with maiev never finished. So must SetReactState(REACT_AGGRESSIVE)...