[A83] Re: help!
[Prev][Next][Index][Thread]
[A83] Re: help!
my suggestion: make the numbers 8 bit.
If you notice in Square's FF2/FF3 for the SNES the numbers for all of the
stats are 8 bit, since they max out at 255.
16 bit numbers to use in RPGs are HP/MP/GOLD/EXP etc.
-harper
At 11:07 AM 3/20/01 +0000, you wrote:
>I have a question. How do I do a equation like this, I will use it in a
>battle engine in an RPG. The problem is that all the numbers are 16-bit.
>In this example I use the players strenght and attack values to define a
>damage:
>
>(PLAYER STRENGHT / 2) + (PLAYER ATTACK) + (int rand(PLAYER ATTACK+1 >
>PLAYER ATTACK / 3)
>
>thanks
>Alex
>
>
>
>
>_________________________________________________________
>FreeBox - The World's Finest Web Mail Solution
>Get your own FREE email account at http://www.freebox.com
References: