]> granicus.if.org Git - nethack/commit
addtional monster movement tweak
authornethack.rankin <nethack.rankin>
Wed, 16 May 2012 02:15:10 +0000 (02:15 +0000)
committernethack.rankin <nethack.rankin>
Wed, 16 May 2012 02:15:10 +0000 (02:15 +0000)
commitb90d87ec3c1202405cd6640fde255dbd9410dd67
tree87bb5136ff2e58803792ded8c405038ab542480c
parent8c4e3248565da0fd167c49c8c1ad84d513a867db
addtional monster movement tweak

     Introduce some variation in monster movement by adding and substracting
small random amounts to the fixed increment from the main monster table.  The
amount added is potentially bigger (average is +2) than the amount substracted
(average is +1), so monsters will tend to be slightly faster.  Probably not
noticeable except for super-slow monsters not being so glacially slow, since
net +1 is a bigger relative increase for such critters' low movement rates.
In practice, the noticeable effect will be that ordinary speed monsters will
occasionally get an extra move even if/when player keeps the hero unburdened.

     Possible extension (although I'm not planning to do it):  sort the
monster list by pending movement points, so that faster monsters move before
slower ones.  The random variation would become noticeable because groups of
same-speed monsters would alter their movement order depending upon who got
a bigger increment or smaller decrement on that turn.
doc/fixes35.0
src/mon.c