Re: [NEWBIE] No regen

From: Phillip A. Ames (kirk47@JUNO.COM)
Date: 09/27/98

>I know that if you alter the players points, and don't throw a
>check_regen_rates(ch) somewhere soon after you will have all kinds of
>problems.  Also make sure that you aren't modifying the players points
>directly ie.  GET_HIT(ch) = 1 or whatever, you have to use the
>alter_hit() etc functions, and make sure that you check_regen_rates(ch)

There are several places in my code that do the GET_HIT(ch) = 1, do
you/anyone else know what to replace it with? I found 2 GET_HIT(ch) -=
dam; in my objcmd and wldcmd(from dg scripts), and replaced those with
alter_hit(ch, dam) and then put a check_regen_rates(ch) right after it.
Thanks in advance,


Phillip Ames    | Satisfaction is not guaranteed. | -Ferengi Rule of Acquisition #19
ICQ: 8778335    | AOL IM: Grathol

You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at
Or call Juno at (800) 654-JUNO [654-5866]

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST