Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
20
Scripts/Services/ChampionSystem/RestartTimer.cs
Normal file
20
Scripts/Services/ChampionSystem/RestartTimer.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user