From e2cf12a2ceaa61ab70ff30d01f0f1890561d9a2e Mon Sep 17 00:00:00 2001 From: Petric Date: Thu, 3 Sep 2020 15:18:34 +0100 Subject: [PATCH] fix(CORE/Dungeon): Mage-Lord Urom now cats empowered arcane explosion when he teleports to the center (#3323) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ì Co-authored-by: Stefano Borzì --- src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp b/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp index be9ae629b..7fd7e6ab2 100644 --- a/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp +++ b/src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp @@ -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;