waking waiting monsters after non-damaging attacks

- From a bug report, there are ways to, for example, steal items
from Medusa without waking her, by clever use of Conflict.
Avoid this by removing STRAT_WAITFORU when such an attack succeeds
- it was theoretically possible to use a similar approach to steal from a
STRAT_WAITFORU monster without it noticing while polymorphed and very fast,
so bulletproof this case as well.  Simpler because failed attacks wake too.
This commit is contained in:
cohrs
2002-04-15 07:00:00 +00:00
parent 86f961ba3f
commit d3078778eb
3 changed files with 17 additions and 0 deletions

View File

@@ -73,6 +73,8 @@ non-altar prayer should limit god action, not maximize it
potions of acid explode, not dilute, so make water_damage behave this way
lookat monster notes if you see monster is trapped
don't crash when angry shopkeeper re-enters the shop and you pick up something
monsters with WAITFORU strategy should act if successfully attacked by
non-damaging attacks (e.g. seduction, rust damage)
Platform- and/or Interface-Specific Fixes