refactor(Scripts/Northrend): conversion to std::chrono (#15269)
Co-authored-by: Maelthyrr <maelthyrr@users.noreply.github.com>
This commit is contained in:
parent
527f462826
commit
0200a288cd
140 changed files with 3306 additions and 3371 deletions
|
|
@ -169,16 +169,16 @@ public:
|
|||
go->SetGoState(GO_STATE_READY);
|
||||
}
|
||||
}
|
||||
events.ScheduleEvent(EVENT_IMPALE, 15000);
|
||||
events.ScheduleEvent(EVENT_LOCUST_SWARM, urand(70000, 120000));
|
||||
events.ScheduleEvent(EVENT_BERSERK, 600000);
|
||||
events.ScheduleEvent(EVENT_IMPALE, 15s);
|
||||
events.ScheduleEvent(EVENT_LOCUST_SWARM, 70s, 120s);
|
||||
events.ScheduleEvent(EVENT_BERSERK, 10min);
|
||||
if (!summons.HasEntry(NPC_CRYPT_GUARD))
|
||||
{
|
||||
SummonCryptGuards();
|
||||
}
|
||||
if (!Is25ManRaid())
|
||||
{
|
||||
events.ScheduleEvent(EVENT_SPAWN_GUARD, urand(15000, 20000));
|
||||
events.ScheduleEvent(EVENT_SPAWN_GUARD, 15s, 20s);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -223,13 +223,13 @@ public:
|
|||
{
|
||||
me->CastSpell(target, RAID_MODE(SPELL_IMPALE_10, SPELL_IMPALE_25), false);
|
||||
}
|
||||
events.RepeatEvent(20000);
|
||||
events.Repeat(20s);
|
||||
break;
|
||||
case EVENT_LOCUST_SWARM:
|
||||
Talk(EMOTE_LOCUST);
|
||||
me->CastSpell(me, RAID_MODE(SPELL_LOCUST_SWARM_10, SPELL_LOCUST_SWARM_25), false);
|
||||
events.ScheduleEvent(EVENT_SPAWN_GUARD, 3000);
|
||||
events.RepeatEvent(90000);
|
||||
events.ScheduleEvent(EVENT_SPAWN_GUARD, 3s);
|
||||
events.Repeat(90s);
|
||||
break;
|
||||
case EVENT_SPAWN_GUARD:
|
||||
me->SummonCreature(NPC_CRYPT_GUARD, 3331.217f, -3476.607f, 287.074f, 3.269f, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 60000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue