mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
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();
|
||||
}, 20s, 40s);
|
||||
ScheduleTimedEvent(10s, [&]{
|
||||
if (HatchAllEggs(HATCH_RESET))
|
||||
{
|
||||
Talk(SAY_SUMMON_HATCHER);
|
||||
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);
|
||||
}
|
||||
Talk(SAY_SUMMON_HATCHER);
|
||||
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);
|
||||
ScheduleTimedEvent(8s, [&]{
|
||||
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0))
|
||||
|
||||
Reference in New Issue
Block a user