>>can stand still and the serpent will never do anything. If anyone knows
>>how I can get it to go off randomly during fights, I'd much appreciate it.
>
>> if(GET_POS(ch) != POS_FIGHTING)
>> return FALSE;
>
>If the mob isn't fighing, abort the spec proc. Look at the other specs in
the
>code to see how they separate fighting calls, from random and command calls.
I only want it to do this while fighting. Also, i tried adding
SPECIAL(serpent) {
if(!cmd) {
EVERYTHING ELSE
return TRUE;
}
return FALSE; // Only get here if !cmd fails
}
It always reaches the return FALSE.
+------------------------------------------------------------+
| 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