Re: [Code]Werewolf Race

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 09/03/97


On Wed, 3 Sep 1997, J.T. wrote:

>I have been working on a werewolf race that gains bonuses to their
>attributes at night. I have the part about giving the bonuses working,
>but it seems like it just keeps giving them bonuses every hour at night,

As the next mail stated, check for a certain time, not a range.

>and not taking them away during the day.

Where do you subtract??

This type of bonus is so easy to abuse I would recommend you be very
careful about it.  I would just log off right before daylight and keep my
raised stats.  Then when the subtract time is over, log back in.  You'll
have to keep a flag like PLR_BONUS and check for it to avoid stat raising
twice or stat dropping twice.


 --
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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/08/00 PST