diff --git a/doc/fixes35.0 b/doc/fixes35.0 index 74fa5f47b..5a57db943 100644 --- a/doc/fixes35.0 +++ b/doc/fixes35.0 @@ -1049,6 +1049,7 @@ bones files now include extra data to identify dead hero and reason for death dipping multiple potions in another potion may only dip part of their stack make being inside a stinking cloud (when not immune or resistant) become a major trouble which is fixable by prayer +introduce some variation in monster movement rates Platform- and/or Interface-Specific New Features diff --git a/src/mon.c b/src/mon.c index aff3ee4e2..ae6394d13 100644 --- a/src/mon.c +++ b/src/mon.c @@ -454,8 +454,16 @@ struct monst *mon; /* average movement is 1.50 times normal */ mmove = ((rn2(2) ? 4 : 5) * mmove) / 3; } - } + } else #endif + if (mmove) { + /* vary movement points allocated to slightly reduce predictability; + random increment (avg +2) exceeds random decrement (avg +1) by + a small amount; normal speed monsters will occasionally get an + extra move and slow ones won't be quite as slow */ + mmove += rn2(5) - rn2(3); /* + 0..4 - 0..2, average net +1 */ + if (mmove < 1) mmove = 1; + } return mmove; }