mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 09:03:47 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user