Re: Disarm problems...

From: Lincoln Chan (linc@CSUA.Berkeley.EDU)
Date: 08/09/95


Ummm...Paul, that's a great report, but umm...you got your boolean check
flipped.

original code from Mark was:

>    if (percent > prob) {
>       act ("You failed to disarm $s.", FALSE, ch, 0, victim, TO_CHAR);
>    } else {
>    disarm(ch, victim);


your explanation code was:

   your test
      if (percent < prob)
          then fail;
      else
          succeed.




You sorta got your >< signs flipped, Paul...

linc aka Aladdin of Eternity DikuMUD



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