fix(Scripts/ZulAman): Restore hatcher side switch (#20633)
This commit is contained in:
parent
c4a8fafecb
commit
c46fceeea7
1 changed files with 8 additions and 0 deletions
|
|
@ -363,6 +363,14 @@ struct npc_janalai_hatcher : public ScriptedAI
|
|||
|
||||
if (me->FindNearestCreature(NPC_EGG, 100.0f))
|
||||
context.Repeat(4s);
|
||||
else
|
||||
{
|
||||
_side = _side ? 0 : 1;
|
||||
_isHatching = false;
|
||||
_waypoint = 3;
|
||||
MoveToNewWaypoint(_waypoint);
|
||||
context.CancelGroup(SCHEDULER_GROUP_HATCHING);
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue