Ejemplo n.º 1
0
        public override bool CheckTarget(Mobile from, Server.Targeting.Target targ, object targeted)
        {
            Mobile owner = (Mobile)m_Owners[targeted];

            if (owner != null && owner != from)
            {
                return(false);
            }
            return(base.CheckTarget(from, targ, targeted));
        }
Ejemplo n.º 2
0
 public override bool CheckTarget(Mobile from, Server.Targeting.Target targ, object targeted)
 {
     if (m_Locked && targeted != this && from.AccessLevel < AccessLevel.GameMaster)
     {
         return(false);
     }
     else
     {
         return(base.CheckTarget(from, targ, targeted));
     }
 }
Ejemplo n.º 3
0
 public override bool CheckTarget(Mobile from, Server.Targeting.Target targ, object targeted)
 {
     return(false);
 }