fix(CORE/Dungeon): Mage-Lord Urom now cats empowered arcane explosion when he teleports to the center (#3323)

Mage-Lord Urom in Oculus would teleport to the center of the room, but he would never cast empowered accane-explosion he would just wait there

Closes https://github.com/azerothcore/azerothcore-wotlk/issues/3320

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
This commit is contained in:
Petric
2020-09-03 15:18:34 +01:00
committed by GitHub
parent c6b2b4c392
commit e2cf12a2ce

View File

@@ -266,7 +266,10 @@ public:
Talk(SAY_ARCANE_EXPLOSION);
Talk(EMOTE_ARCANE_EXPLOSION);
//At this point we are still in casting state so we need to clear it for DoCastAOE not to fail
me->ClearUnitState(UNIT_STATE_CASTING);
DoCastAOE(DUNGEON_MODE(SPELL_EMPOWERED_ARCANE_EXPLOSION_N, SPELL_EMPOWERED_ARCANE_EXPLOSION_H));
me->AddUnitState(UNIT_STATE_CASTING);
events.RescheduleEvent(EVENT_TELE_BACK, DUNGEON_MODE(9000, 7000));
default:
break;