CheckAccess() public static method

public static CheckAccess ( BaseCreature animal, Mobile from ) : bool
animal BaseCreature
from Mobile
return bool
 public override bool CheckNonlocalLift(Mobile from, Item item)
 {
     return(PackAnimal.CheckAccess(this, from));
 }
Beispiel #2
0
 public override bool IsSnoop(Mobile from) => !PackAnimal.CheckAccess(this, from) && base.IsSnoop(from);
 public override bool CheckNonlocalDrop(Mobile from, Item item, Item target)
 {
     return(PackAnimal.CheckAccess(this, from));
 }
Beispiel #4
0
        ////public override bool OnEquip(Item item)
        ////{
        ////    //if (item is BaseRanged && Core.AOS)
        ////    //{
        ////    //    BaseRanged bow = item as BaseRanged;
        ////    //    //SetDamage(level / 20 + bow.AosMinDamage / 2 + (generation - 1) * 5, level / 10 + bow.AosMaxDamage / 2 + (generation - 1) * 5);
        ////    //}

        ////    return base.OnEquip(item);
        ////}
        public override bool AllowEquipFrom(Mobile from)
        {
            return(PackAnimal.CheckAccess(this, from));
        }