weapon rustproofing status

From a bug report, hitting a rust monster with a
fireproof--but not identified as fireproof--weapon caused the rknown bit
to become set, identifying the item as fireproof.  That would also happen
for a monster's anything-proof weapon if it hit a rust monster, whether
you could see it happen or not.  The code involved is convoluted; I hope
this fix is correct.
This commit is contained in:
nethack.rankin
2007-02-08 07:06:39 +00:00
parent 6b2078f89c
commit e46663e456
2 changed files with 16 additions and 9 deletions

View File

@@ -307,6 +307,8 @@ non-unicorn horn healing magic which cures sickness now also cures vomiting
vomiting/nauseated state is included in enlightenment feedback
vomiting countdown actually triggered the final vomit code twice
rats aren't capable of vomiting
fireproof, non-rustable weapon would be revealed as fireproof by hitting a
rust-causing target; ditto for fixed crysknife
Platform- and/or Interface-Specific Fixes