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:
@@ -521,7 +521,10 @@ struct boss_illidan_stormrage : public BossAI
|
|||||||
// Check for Phase Transition
|
// Check for Phase Transition
|
||||||
scheduler.Schedule(5s, [this](TaskContext context) {
|
scheduler.Schedule(5s, [this](TaskContext context) {
|
||||||
if (!SelectTargetFromPlayerList(150.0f))
|
if (!SelectTargetFromPlayerList(150.0f))
|
||||||
|
{
|
||||||
EnterEvadeMode(EVADE_REASON_NO_HOSTILES);
|
EnterEvadeMode(EVADE_REASON_NO_HOSTILES);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
summons.RemoveNotExisting();
|
summons.RemoveNotExisting();
|
||||||
if (!summons.HasEntry(NPC_FLAME_OF_AZZINOTH))
|
if (!summons.HasEntry(NPC_FLAME_OF_AZZINOTH))
|
||||||
|
|||||||
Reference in New Issue
Block a user