public WraithFormTimer(Mobile owner, TimeSpan interval, int duration, int damage, Spell spell) : base(TimeSpan.FromSeconds(duration)) { m_Owner = owner; Priority = TimerPriority.OneSecond; m_Damage = damage; m_Spell = spell; m_SubtimerDuration = interval; m_Subtimer = new Subtimer(interval, this, owner, damage, m_Spell); m_Subtimer.Start(); }
public void SubtimerCallback() { m_Subtimer.Stop(); m_Subtimer = new Subtimer(m_SubtimerDuration, this, m_Owner, m_Damage, m_Spell); m_Subtimer.Start(); }