Disarm

From: Mark Garringer (zizazat@rmii.com)
Date: 08/10/95


Ok, circle 2.2...

A 1st level charcter, with no skill in disarm does not disarm.
However, a 4th level charcter, with max skill in disarm does not disarm 
either.
A God will always disarm, however...

code to follow:

   percent = number(1, 101); /* 101% is a complete failure */
   prob = GET_SKILL(ch, SKILL_DISARM);
   
   if (percent > prob) {
      act ("You failed to disarm $s.", FALSE, ch, 0, victim, TO_CHAR);
   } else {
   disarm(ch, victim);
   }
}

Help? Advice?

--Ziz, NetShamen



This archive was generated by hypermail 2b30 : 12/18/00 PST