Files
The-Forging/Scripts/Services/ChampionSystem/RestartTimer.cs
T

20 lines
453 B
C#
Raw Normal View History

2026-06-19 00:00:16 -04:00
using System;
namespace Server.Engines.CannedEvil
{
public class RestartTimer : Timer
{
private readonly ChampionSpawn m_Spawn;
public RestartTimer(ChampionSpawn spawn, TimeSpan delay)
: base(delay)
{
this.m_Spawn = spawn;
this.Priority = TimerPriority.FiveSeconds;
}
protected override void OnTick()
{
this.m_Spawn.EndRestart();
}
}
}