fix(Scripts/ZulAman): Jan'alai eggs should not respawn during encounter (#20664)
This commit is contained in:
@@ -185,12 +185,9 @@ struct boss_janalai : public BossAI
|
|||||||
StartBombing();
|
StartBombing();
|
||||||
}, 20s, 40s);
|
}, 20s, 40s);
|
||||||
ScheduleTimedEvent(10s, [&]{
|
ScheduleTimedEvent(10s, [&]{
|
||||||
if (HatchAllEggs(HATCH_RESET))
|
Talk(SAY_SUMMON_HATCHER);
|
||||||
{
|
me->SummonCreature(NPC_AMANI_HATCHER, hatcherway[0][0], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 10000);
|
||||||
Talk(SAY_SUMMON_HATCHER);
|
me->SummonCreature(NPC_AMANI_HATCHER, hatcherway[1][0], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 10000);
|
||||||
me->SummonCreature(NPC_AMANI_HATCHER, hatcherway[0][0], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 10000);
|
|
||||||
me->SummonCreature(NPC_AMANI_HATCHER, hatcherway[1][0], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 10000);
|
|
||||||
}
|
|
||||||
}, 90s);
|
}, 90s);
|
||||||
ScheduleTimedEvent(8s, [&]{
|
ScheduleTimedEvent(8s, [&]{
|
||||||
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0))
|
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user