Formats UO Content (#201)

This commit is contained in:
Kamron Batman 2020-08-27 18:30:38 -07:00 • committed by GitHub
parent 86b7b3aed1
commit ad3775c4d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3249 changed files with 431083 additions and 440981 deletions

View file

@ -3,22 +3,22 @@ using Server.Mobiles;
namespace Server.Spells
{
internal class UnsummonTimer : Timer
{
private Mobile m_Caster;
private readonly BaseCreature m_Creature;
public UnsummonTimer(Mobile caster, BaseCreature creature, TimeSpan delay) : base(delay)
internal class UnsummonTimer : Timer
{
m_Caster = caster;
m_Creature = creature;
Priority = TimerPriority.OneSecond;
}
private readonly BaseCreature m_Creature;
private Mobile m_Caster;
protected override void OnTick()
{
if (!m_Creature.Deleted)
m_Creature.Delete();
public UnsummonTimer(Mobile caster, BaseCreature creature, TimeSpan delay) : base(delay)
{
m_Caster = caster;
m_Creature = creature;
Priority = TimerPriority.OneSecond;
}
protected override void OnTick()
{
if (!m_Creature.Deleted)
m_Creature.Delete();
}
}
}
}
}