]> granicus.if.org Git - nethack/commit
breaking empty wands
authornethack.rankin <nethack.rankin>
Tue, 8 May 2007 02:02:22 +0000 (02:02 +0000)
committernethack.rankin <nethack.rankin>
Tue, 8 May 2007 02:02:22 +0000 (02:02 +0000)
commit49d0204fc4b44257c5db42a0a2cdfc673c1cf62e
tree5800384ab02f5ef8419640222018be39f0a4ca0d
parent6df91448c1ecf675a9104ff1c4bab1ace89aed51
breaking empty wands

     I found a copy of a news posting from 1996 which suggested that
using a[pply] to break a wand which has 0 charges should have a chance of
wresting out one extra charge, like zapping.  That way the player can't
destroy spent wands with impunity, and it makes the two wand actions be
more consistent.  Also, it's trivial to implement.  :-)
doc/fixes34.4
src/apply.c