CheckControlChance() 공개 메소드

public CheckControlChance ( Server.Mobile m ) : bool
m Server.Mobile
리턴 bool
예제 #1
0
        private void DoClaim(Mobile from, BaseCreature pet, PetClaimTicket petClaimTicket)
        {
            pet.SetControlMaster(from);

            pet.ControlTarget = from;
            pet.ControlOrder  = OrderType.Follow;

            pet.MoveToWorld(from.Location, from.Map);

            pet.IsStabled = false;
            pet.StabledBy = null;

            petClaimTicket.Stabled = null;
            petClaimTicket.Delete();

            pet.CheckControlChance(from);
        }