Re: [NEWBIE] Question on Regeneration.

From: ;P (siv@CYBERENET.NET)
Date: 05/11/98


> characters position (sleeping, standing, resting..), 2) affects (poison,
> hunger, etc) ... etc etc etc
>
> so. How could this be implimented here ? for example.
>
> if i was sleeping .... i would want it to regen 3 hit points every round and a
> half (lets just say), while normally it would be 1 hp per round (which is what
> it's doing, no matter what). How can you make it similar to the older system ?
> Does it require floating point numbers instead of ints == pwipe? Well, maybe
> not pwipe, becuase pfile could store as an int, while it gets converted at load
> up :). *shrug*

use the same functions, just divide the output..i changed over to an event
based system that updates every 15 seconds, that's 1/5th of the old
secs_per_tick (75 secs) so i just divided the output of the xx_gain funcs
to return (gain/5) instead of gain..

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