aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Northrend
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/Northrend')
-rw-r--r--src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp
index f7a49f7a0e7..22adbf3e4dc 100644
--- a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp
+++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp
@@ -1344,12 +1344,9 @@ struct npc_shambling_horror_icc : public ScriptedAI
DoMeleeAttackIfReady();
}
- void OnSpellCastInterrupt(SpellInfo const* spell) override
+ void OnSpellCastFinished(SpellInfo const* spell, SpellFinishReason reason) override
{
- ScriptedAI::OnSpellCastInterrupt(spell);
-
- // When enrage is interrupted, reschedule the event
- if (spell->Id == ENRAGE)
+ if (reason == SPELL_FINISHED_CANCELED && spell->Id == ENRAGE)
_events.RescheduleEvent(EVENT_ENRAGE, 1s);
}
@@ -2895,4 +2892,4 @@ void AddSC_boss_the_lich_king()
// Achievements
new achievement_been_waiting_long_time();
new achievement_neck_deep_in_vile();
-} \ No newline at end of file
+}