public override void OnMovement(Mobile m, Point3D oldLocation)
{
if (!m.Frozen && DateTime.Now >= m_NextResurrect && InRange(m, 4) && !InRange(oldLocation, 4) && InLOS(m))
{
if (m.IsDeadBondedPet)
{
m_NextResurrect = DateTime.Now + ResurrectDelay;
if (m.Map == null || !m.Map.CanFit(m.Location, 16, false, false))
{
Say("I sense a spirt of an animal...somewhere.");
}
else
{
BaseCreature bc = m as BaseCreature;
bc.PlaySound(0x214);
bc.FixedEffect(0x376A, 10, 16);
bc.ResurrectPet();
Say("Rise my friend. I wish I could save every unfortunate animal.");
}
}
}
}