fix(Scripts/Ulduar): clear Hodir's Fury freeze when Flame Leviathan resets or dies (#27359)

This commit is contained in:
Andrew
2026-08-28 08:00:33 +02:00
committed by GitHub
parent e884d5f732
commit 6825b41eb7
@@ -65,6 +65,7 @@ enum LeviathanSpells
SPELL_TOWER_OF_LIFE = 64482,
SPELL_HODIRS_FURY = 62533,
SPELL_HODIRS_FURY_STUN = 62297,
SPELL_FREYA_WARD = 62906, // removed spawn effect
SPELL_MIMIRONS_INFERNO = 62909,
SPELL_THORIMS_HAMMER = 62911,
@@ -306,6 +307,9 @@ struct boss_flame_leviathan : public BossAI
summons.DespawnAll();
events.Reset();
// The stun lasts 60s and is applied to dead players too, nothing else clears it once the fight ends
instance->DoRemoveAurasDueToSpellOnPlayers(SPELL_HODIRS_FURY_STUN);
_shutdown = false;
_startTimer = 1;
_speakTimer = 0;
@@ -641,6 +645,8 @@ void boss_flame_leviathan::JustDied(Unit*)
for (Creature* creature : tarPools)
creature->DespawnOrUnsummon();
instance->DoRemoveAurasDueToSpellOnPlayers(SPELL_HODIRS_FURY_STUN);
instance->SetBossState(BOSS_LEVIATHAN, DONE);
instance->SetData(DATA_VEHICLE_SPAWN, VEHICLE_POS_NONE);