Re: Spec proc question

From: Patrick Dughi (dughi@IMAXX.NET)
Date: 05/14/98


> Ok heres puff
>
> SPECIAL(puff)
> {
>   ACMD(do_say);
>
>   if (cmd)
>     return (0);
>
>   switch (number(0, 60)) {
>                  ^^^^^
>                  |||||
>   what are the 0, and the 60 for. i know its for time but how much time?

its not time, its a random number from 0 to 60. Mob spec procs are called,
wht, ever 10 combat pulses? and then apparently, if that number is equal
to a case statement furth on, it does those functions.

                                        PjD


     +------------------------------------------------------------+
     | 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