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/SliceTimer.cs
Normal file
20
Scripts/Services/ChampionSystem/SliceTimer.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Engines.CannedEvil
|
||||
{
|
||||
public class SliceTimer : Timer
|
||||
{
|
||||
private readonly ChampionSpawn m_Spawn;
|
||||
public SliceTimer(ChampionSpawn spawn)
|
||||
: base(TimeSpan.FromSeconds(1.0), TimeSpan.FromSeconds(1.0))
|
||||
{
|
||||
this.m_Spawn = spawn;
|
||||
this.Priority = TimerPriority.OneSecond;
|
||||
}
|
||||
|
||||
protected override void OnTick()
|
||||
{
|
||||
this.m_Spawn.OnSlice();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user