mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Scripts/Ulduar): clear Hodir's Fury freeze when Flame Leviathan resets or dies (#27359)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user