]> granicus.if.org Git - nethack/commit
muse wand/horn feedback
authorPatR <rankin@nethack.org>
Mon, 10 Jun 2019 10:16:52 +0000 (03:16 -0700)
committerPatR <rankin@nethack.org>
Mon, 10 Jun 2019 10:16:52 +0000 (03:16 -0700)
commit5d59b288c9a8e6f15f683007bdf5c4e4549642f4
treeb5be90725aa913767d875559e30b38d7e3f5dff1
parent319dcf4746a81ef0ca413491bdf30b4c08f931c2
muse wand/horn feedback

One of the claims in #H8849 was that a monster which zapped a wand
that the hero had fully identified made hero's knowledge of it revert
to "a wand".  That doesn't happen; it had to have been a different
wand which hadn't been seen up close yet.  But the hero should lose
track of known number of charges if a wand is zapped outside his/her
view.  When implementing that I noticed that a monster playing a fire
horn to burn away slime was using the routine that gives wand
feedback.  Add a separate, similar routine for magical horn feedback.

Half this diff is due to moving a naming support routine from mhitm.c
to do_name.c.
doc/fixes36.3
include/extern.h
src/do_name.c
src/mhitm.c
src/muse.c