mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/Gundrak: Use std::chrono::duration overloads of EventMap (#25030)
Contributes to #25012
(cherry picked from commit 3a9b3259b8)
This commit is contained in:
committed by
Shauren
parent
e6e4edd768
commit
3d9885a302
@@ -78,7 +78,7 @@ class boss_eck : public CreatureScript
|
||||
{
|
||||
if (!_berserk && me->HealthBelowPctDamaged(20, damage))
|
||||
{
|
||||
events.RescheduleEvent(EVENT_BERSERK, 1000);
|
||||
events.RescheduleEvent(EVENT_BERSERK, 1s);
|
||||
_berserk = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,10 +88,7 @@ enum GDSpellIds
|
||||
SPELL_FIRE_BEAM_ELEMENTAL = 57072
|
||||
};
|
||||
|
||||
enum GDInstanceMisc
|
||||
{
|
||||
TIMER_STATUE_ACTIVATION = 3500
|
||||
};
|
||||
constexpr Milliseconds TIMER_STATUE_ACTIVATION = 3500ms;
|
||||
|
||||
template <class AI, class T>
|
||||
inline AI* GetGundrakAI(T* obj)
|
||||
|
||||
Reference in New Issue
Block a user