In "Combat system implementation help" Dale wrote:
> Ah cause I forgot to mention why I wanted that 4 - 100 number... I plan to
> take the dex and figure that 4 - 100 number. Then I plan to write some
> skills that would speed you up by 15% or 20% or what not.... Then I want it
> to with that modifyed number figure the updates you know where it divides it
> by 10 giving me that 2.5 number or for someone might be 4.2.

ROM has "ticks" for updates. Roughly every 1/4 second. So, if the char
has a max Dex of 25, and the max bonus is 5, then simply subtract the
modded Dex from 32 and decrement on each tick.

Dex = 25, mod = 5, 32 - 28 = 2, update every .5 seconds.
Dex = 17, mod = 3, 32 - 20 = 12, update every 3 seconds.

Since you can't do 1/2 an update, it's cleaner not to use fractions,
percentages or scaling factors in this sort of thing.


Sandi                            

                  "SEGFAULT!?! I have not yet begun to code!"


Reply via email to