fix(Scripts/OnyxiaLair): All Onyxia's adds should attack player on su… (#14108)

* fix(Scripts/OnyxiaLair): All Onyxia's adds should attack player on summon.

Fixes #14075

* Update.
This commit is contained in:
UltraNix
2023-01-06 00:52:40 +01:00
committed by GitHub
parent 6889ed4f2a
commit 171b05a70c

View File

@@ -211,7 +211,7 @@ public:
return;
}
if (summon->GetEntry() == NPC_ONYXIAN_LAIR_GUARD && Phase != PHASE_LANDED)
if (summon->GetEntry() == NPC_ONYXIAN_LAIR_GUARD && Phase < PHASE_AIRPHASE)
{
return;
}
@@ -221,8 +221,6 @@ public:
summon->AI()->AttackStart(target);
DoZoneInCombat(summon);
}
summons.Summon(summon);
}
void MovementInform(uint32 type, uint32 id) override