Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
using System;
using Server.Mobiles;
namespace Server.Spells
{
class UnsummonTimer : Timer
{
private readonly BaseCreature m_Creature;
private readonly Mobile m_Caster;
public UnsummonTimer(Mobile caster, BaseCreature creature, TimeSpan delay)
: base(delay)
{
this.m_Caster = caster;
this.m_Creature = creature;
this.Priority = TimerPriority.OneSecond;
}
protected override void OnTick()
{
if (!this.m_Creature.Deleted)
this.m_Creature.Delete();
}
}
}