Skip to content

Commit

Permalink
fix(Scripts/BlackTemple): Prevent further code execution if Illidan e… (
Browse files Browse the repository at this point in the history
azerothcore#20292)

fix(Scripts/BlackTemple): Prevent further code execution if Illidan evades during air phase
  • Loading branch information
Nyeriah authored Oct 25, 2024
1 parent bed3e1d commit 02db940
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,10 @@ struct boss_illidan_stormrage : public BossAI
// Check for Phase Transition
scheduler.Schedule(5s, [this](TaskContext context) {
if (!SelectTargetFromPlayerList(150.0f))
{
EnterEvadeMode(EVADE_REASON_NO_HOSTILES);
return;
}

summons.RemoveNotExisting();
if (!summons.HasEntry(NPC_FLAME_OF_AZZINOTH))
Expand Down

0 comments on commit 02db940

Please sign in to comment.