On Sun, 10 May 1998, Owen Brodal-Robertson wrote:
> What I'd like, is for hitpoints/mana/moves to regen at a certain rate
> every second, instead of a big jump every tick, I've seen the code at the
> ftp site, but I'd like to be able to have this without having DG Events
> installed.
> Does anyone know of a patch for stock circle that implements this, or
> could someone give Me a few pointers on how to imp it myself? (I know...
> RTFC).
Remove *_gain() from point_update(), create a new func. called
gain_update() and call that function every XXX seconds. Setup the delay
in calls for gain_update() like MOB_PULSE and mobile_activity() is used.
Farily simple.
PS: Please set your mailer to wrap at 79 characters. If you are unable to
do so, please change mailers. It'll make your messages easier to read.
John Evans <evansj@hi-line.net> -- http://www.hi-line.net/~evansj/
Any sufficiently advanced technology is indistinguishable from magic.
-- Arthur C. Clarke
+------------------------------------------------------------+
| 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