Re: Double Move at Equivalent Speed
- From: camlost <joshua.middendorf@xxxxxxxxxxxxx>
- Date: Thu, 21 Jun 2007 20:00:47 GMT
Eddie Grove wrote:
camlost <joshua.middendorf@xxxxxxxxxxxxx> writes:
I died to a double move from an Archpriest, while we both should have been at
speed 120 (i.e. +10). Is the problem with all this simply a matter of the
limitation of doing integer arithmetic, or is there some other subtle problem
with determining exactly who goes first?
Isn't there some chance that monsters are not exactly the speed listed?
Perhaps it had speed 121.
I'm pretty sure that Heng does this, but I'm pretty sure it's not standard. Not 100% sure here.
Checks code:
/* Hack -- small racial variety */
if (!(r_ptr->flags1 & (RF1_UNIQUE)))
{
/* Allow some small variation per monster */
i = div_round(extract_energy[r_ptr->speed], 10);
if (i) n_ptr->mspeed += rand_spread(0, i);
}
I guess I'm wrong... never mind. Something good to keep in mind.
The Archpriest summons forth dark forces from Hell!
Darkness surrounds you.
You succumb to the visions of Hell!
The Archpriest hits you!
Perhaps "succumb" could include slowing or paralyzation for a turn.
Just a couple guesses.
No, I checked the code, and it doesn't appear to be a problem.
Joshua
.
- Follow-Ups:
- Re: Double Move at Equivalent Speed
- From: magnate
- Re: Double Move at Equivalent Speed
- References:
- Double Move at Equivalent Speed
- From: camlost
- Re: Double Move at Equivalent Speed
- From: Eddie Grove
- Double Move at Equivalent Speed
- Prev by Date: Double Move at Equivalent Speed
- Next by Date: Noob question
- Previous by thread: Re: Double Move at Equivalent Speed
- Next by thread: Re: Double Move at Equivalent Speed
- Index(es):
Relevant Pages
|
Loading