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.
This commit is contained in:
nethack.rankin
2003-02-10 11:08:29 +00:00
parent 00d320c3d3
commit 6c1d28753c
2 changed files with 188 additions and 159 deletions

View File

@@ -378,6 +378,7 @@ see_monsters() wasn't called when you lost the innate warning intrinsic due
to level loss
xorns sink if the drawbridge they're standing on is raised
applying figurines to an adjacent spot over water does drowning checks
fix sequencing of Magicbane's hit messages
Platform- and/or Interface-Specific Fixes