> By changing the call semantics to differentiate between PULSE_MOBILE and
> PULSE_VIOLENCE invocations, we cover a slight hole in spec procs. Some
> special procedures will have to change because of this. Particularly, the
> violent behavior spec procs like magic_user(), which rely on ch being the
> mobile on which the spec proc is running.
>
> Given the new semantics, I believe the following are definitive checks for
> the possible situations:
>
> struct char_data *mob = me;
> if (cmd) /* Invoked by a command. */ ;
> if (ch == mob) /* Invoked by PULSE_MOBILE. */ ;
> if (ch == FIGHTING(mob)) /* Invoked by PULSE_VIOLENCE. */ ;
>
After the informational update ...
That seems entirely sensible to me :)
PjD
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT