Require min body weight for step to wake zombies

A newt or something probably isn't disturbing anything buried 6 feet
below the ground.  WT_ELF/2 is the size of a dingo or goblin.
This commit is contained in:
Michael Meyer
2023-11-07 20:00:56 -05:00
committed by PatR
parent de2c3f033a
commit 392295d770

View File

@@ -2618,7 +2618,9 @@ domove_core(void)
nomul(0);
}
if (!Levitation && !Flying && !Stealth)
/* your tread on the ground may disturb the slumber of nearby zombies */
if (!Levitation && !Flying && !Stealth
&& gy.youmonst.data->cwt >= (WT_ELF / 2))
disturb_buried_zombies(u.ux, u.uy);
if (hides_under(gy.youmonst.data) || gy.youmonst.data->mlet == S_EEL