I was maning half of one of the combat updates. I know about the
PULSE_PER_SECOND and that the mud has 4 pulses per second. And thats used as
a timing peice for things like tick wish is 60 * PULSE_PER_SECOND. So I
could do half a second or half an update if I run it on 2 pulses to every
update. That way I can do half a second, or a full second.

----- Original Message ----- 
From: "Sandi Fallon" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, July 13, 2003 10:28 PM
Subject: Re[2]: Combat system implementation help


> 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!"
>
>
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>


Reply via email to