//paralyze pets public virtual Spell DoParalyze(Mobile toParalyze) { Spell spell = null; BaseCreature c = (BaseCreature)toParalyze; if (spell == null) { if ((int)m_Mobile.GetDistanceToSqrt(toParalyze) == 1 || (int)m_Mobile.GetDistanceToSqrt(toParalyze) == 2) spell = new GenieTeleport(m_Mobile, null); else if (!m_Mobile.InRange(toParalyze, 3) && c.Controlled && c.ControlMaster != null && !c.Paralyzed) spell = new ParalyzePetSpell(m_Mobile, null); } return spell; }
public InternalTarget(GenieTeleport owner) : base(12, true, TargetFlags.None) { m_Owner = owner; }
public InternalTarget( GenieTeleport owner ) : base( 12, true, TargetFlags.None ) { m_Owner = owner; }