Skip to content

Commit f3bd801

Browse files
authored
fix(Scripts/OS): clear Twilight Torment on encounter end (#25697)
1 parent 9fb59e9 commit f3bd801

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/server/scripts/Northrend/ChamberOfAspects/ObsidianSanctum/boss_sartharion.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,9 @@ struct boss_sartharion : public BossAI
416416
for (uint32 i : dragons)
417417
if (Creature* boss = instance->GetCreature(i))
418418
boss->DespawnOrUnsummon();
419+
420+
instance->DoRemoveAurasDueToSpellOnPlayers(SPELL_TWILIGHT_TORMENT_VESPERON);
421+
instance->DoRemoveAurasDueToSpellOnPlayers(SPELL_TWILIGHT_TORMENT_SARTHARION);
419422
}
420423

421424
void SetData(uint32 type, uint32 data) override
@@ -838,6 +841,8 @@ struct boss_sartharion_dragonAI : public BossAI
838841
{
839842
Talk(SAY_VESPERON_DEATH);
840843
instance->DoAction(ACTION_CLEAR_PORTAL);
844+
instance->DoRemoveAurasDueToSpellOnPlayers(SPELL_TWILIGHT_TORMENT_VESPERON);
845+
instance->DoRemoveAurasDueToSpellOnPlayers(SPELL_TWILIGHT_TORMENT_SARTHARION);
841846
if (!isCalledBySartharion || instance->GetBossState(DATA_SARTHARION) != IN_PROGRESS)
842847
instance->SetBossState(DATA_VESPERON, DONE);
843848
break;

0 commit comments

Comments
 (0)