Example #1
0
 public static void SetFree(Mobile from, FootTrap trap)
 {
     from.Emote("*broke free from the foot trap*");
     from.CantWalk = false;
     trap.Delete();
 }
Example #2
0
        public static void CheckAge(FootTrap trap)
        {
            TimeSpan maxage = new TimeSpan(0, trap.m_FeatLevel, 0);

            if (TimeSpan.Compare(maxage, trap.Aging) < 0)
            {
                trap.Delete();
            }
        }