Files
abysmal-isle/Scripts/Services/ChampionSystem/RestartTimer.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

20 lines
453 B
C#

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();
}
}
}