]> granicus.if.org Git - nethack/commit
fix #H7256 - bug WRT eating rings
authorPatR <rankin@nethack.org>
Tue, 3 Jul 2018 23:39:34 +0000 (16:39 -0700)
committerPatR <rankin@nethack.org>
Tue, 3 Jul 2018 23:39:34 +0000 (16:39 -0700)
commitfaa85e23b47cd8007266670653a03c627efaf363
treea713069222b77084b3cc6d5925f1ecfefbc934e5
parenta7daa522a4e33a1a29cf082ed60c74742e2b4d8e
fix #H7256 - bug WRT eating rings

Wearing a negatively enchanted ring of increase <foo> would enhance
the bonus gained from eating another ring of the same type when you
got "the magic spreads through your body" effect so could be eploited.
Conversely, wearing a positively enchanted one would make you lose
that worn amount when gaining any bonus from eating one.
doc/fixes36.2
src/eat.c