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)
after.

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


Phillip Ames    | Satisfaction is not guaranteed.
kirk47@juno.com | -Ferengi Rule of Acquisition #19
ICQ: 8778335    | AOL IM: Grathol
http://members.xoom.com/Gowron/index.html(Unfinished)

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


     +------------------------------------------------------------+
     | 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