> /* 101 is a complete failure, no matter what the proficiency. */
> if (number(0, 101) >= GET_SKILL(ch, SKILL_TRACK)) {
> /* Find a random direction. :) */
> do {
> dir = number(0, NUM_OF_DIRS - 1);
> } while (!CAN_GO(ch, dir));
> sprintf(buf, "You sense a trail %s from here!\r\n", dirs[dir]);
> send_to_char(buf, ch);
> return;
> }
so what happens if they fail in a room with no exit (door closed)..there
is an infinite loop, no?
siv
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST