]> granicus.if.org Git - nethack/commit
fix B16006 - cancelled monster-monster attacks
authornethack.rankin <nethack.rankin>
Sat, 4 Jan 2003 02:29:35 +0000 (02:29 +0000)
committernethack.rankin <nethack.rankin>
Sat, 4 Jan 2003 02:29:35 +0000 (02:29 +0000)
commit4fb26adf8700b228012cdbfaf7f834e7cdb346f9
treefccccc1a267779cd4999134b0d26ff5c3156f60f
parentbd77bb85cc1e2d26e98c9dec22b26bfd775cd967
fix B16006 - cancelled monster-monster attacks

     Various damage types which wouldn't work when a cancelled monster
attacks the player were working when it attacked other monsters instead.
Besides attempting to fix that, this also makes cloaks and other magic
blocking armor ("magic cancellation factor") work for monsters similar
to the way it works for the player.

     Most types of damage appear to revert to physical damage when the
attacker is cancelled; I'm not sure that's appropriate in many of the
instances.  The leg-pricking case was clearly wrong, since it gives
messages about the attack failing yet still hurt the character.

     This really needs a lot more testing than I have energy for.  I've
tried to clean up various inconsistencies and may have made some typos
in the process.
doc/fixes34.1
include/extern.h
src/mhitm.c
src/mhitu.c
src/uhitm.c