fix(Scripts/BlackTemple): Prevent further code execution if Illidan e… (#20292)

fix(Scripts/BlackTemple): Prevent further code execution if Illidan evades during air phase
This commit is contained in:
Andrew
2024-10-25 07:55:52 -03:00
committed by GitHub
parent bed3e1d407
commit 02db94035e

View File

@@ -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))