Scripts/Isle of Conquest: Use std::chrono::duration overloads of EventMap (#25031)

Contributes to #25012

(cherry picked from commit 1a32b0f5b3)
This commit is contained in:
Peter Keresztes Schmidt
2020-07-14 20:19:25 +02:00
committed by Shauren
parent 3d9885a302
commit 65e1b79547

View File

@@ -63,8 +63,8 @@ public:
void JustEngagedWith(Unit* /*who*/) override
{
_events.ScheduleEvent(EVENT_BRUTAL_STRIKE, 5s);
_events.ScheduleEvent(EVENT_DAGGER_THROW, 7 * IN_MILLISECONDS);
_events.ScheduleEvent(EVENT_CHECK_RANGE, 1 * IN_MILLISECONDS);
_events.ScheduleEvent(EVENT_DAGGER_THROW, 7s);
_events.ScheduleEvent(EVENT_CHECK_RANGE, 1s);
_events.ScheduleEvent(EVENT_CRUSHING_LEAP, 15s);
}