]> granicus.if.org Git - nethack/commit
magicbane fixes
authornethack.rankin <nethack.rankin>
Mon, 10 Feb 2003 11:08:29 +0000 (11:08 +0000)
committernethack.rankin <nethack.rankin>
Mon, 10 Feb 2003 11:08:29 +0000 (11:08 +0000)
commit6c1d28753c016c00cfb92e214447a3e9cf8a7c0a
treef0f4258a8c0d5501d30a8dd19d8bb930f474426e
parent00d320c3d3d9584d5ff6df3c37d78b02ba4aac62
magicbane fixes

     Revamp the Magicbane code so that it won't result in "<monster>
turns to flee" followed by "the magic-absorbing blade scares <monster>".
In the process I noticed that resistance checks for its scare and purge
effects were based on the character's experience level regardless of who
was wielding it or who its target was.

     I didn't try to retain the exact behavior it had before, but the
new behavior is pretty close.  The main differences are that the "purge"
effect is now called "cancel" and that the stun effect will be less
common now and always gives feedback when it occurs.  It used to combine
stun with scare and/or purge in some cases, now it won't; and it used to
always scare when purging, now it will pick one or the other.
doc/fixes34.1
src/artifact.c