Re: Damroll problems

From: George (greerga@CIRCLEMUD.ORG)
Date: 05/30/98


On Fri, 30 May 1998, Pheonix Shadowflame wrote:

>My players keep bothering me about a problem with how their damroll
>and hitroll is saved. when they quit and log back on it goes down.
>then if they remove all their equipment its negative. something like
>-6 or something. I can't seem to figure this out. it doesn't so high
>as to overflow int or something. one player's damroll is around 80,
>another's is around 20. Any idea what this could be?

Damage rolls can only go from -128 to 127.  It's not an int, it's a signed
character.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://patches.van.ml.org/          | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- 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/15/00 PST