Affects Modifier

Posted by Norman on Tue 30 Apr 2002 10:54 PM — 1 posts, 8,323 views.

USA #0
Question for y'all

I'm doing some building myself and Found that if I did something like:
oset 15001 affect hit 100

IT will set the MAX HP negative.
I looked up in the code and found that the value should be no greater than XBI * INTBITS (which is 128).

I wrote a quick Bit Modifier program to find the values:

If I use 50 (bv: 1<<50) the modifier is: 262144
Which ups my HP by 50 like it should

Now if I use 100: (bv 1<<100) the modifier is: 16
Which Makes My HP -32617 (my normal max is 32700)

Is there a MAX Bit Val that I s hould go over?
Thanks in advance..
Dave