/**********************************************************
RunUO 2.0 AoV C# script file
Official Age of Valor Script :: www.uovalor.com
Last modified by 
Filepath: scripts\Engines\CannedEvil\SliceTimer.cs
Lines of code: 20
***********************************************************/


using System;
using System.Collections;
using Server;
using Server.Items;

namespace Server.Engines.CannedEvil
{
	public class SliceTimer : Timer
	{
		private ChampionSpawn m_Spawn;

		public SliceTimer( ChampionSpawn spawn ) : base( TimeSpan.FromSeconds( Utility.Random(10) ),  TimeSpan.FromSeconds( 10.0 ) )
		{
			m_Spawn = spawn;
			Priority = TimerPriority.FiveSeconds;;
		}

		protected override void OnTick()
		{
			m_Spawn.OnSlice();
		}
	}
}