wand/spell/breath zaps hitting secret doors (trunk only)
From a bug report, black dragon breath
destroys closed doors didn't acknowledge hitting secret doors. bhit()
reveals secret doors, but zap_over_floor() (called by buzz() for ray-type
wands and spells, and for breath attacks) didn't check for hitting those.
When testing the fix, I noticed that feedback for an explosion caused
by breaking a wand was worded oddly for zaps like magic missile which don't
damage doors. "The door absorbs your bolt" didn't make much sense; what
bolt? That was first changed to "absords your blast", which still sounded
weird, then to "absorbs the blast", which seemed better but was inaccurate.
Next was "absorbs some of the blast" since the explosion continues to hit
adjacent spots, but since it still has full strength that wasn't accurate
either. It's finally become "The door remains intact." Unlike with zaps,
there is no additional range being lost, so no reference to absorption.
This commit is contained in:
@@ -321,6 +321,8 @@ pearl rings shouldn't rust
|
||||
shouldn't be able to read a worn T-shirt when it's covered by a worn suit
|
||||
simplify hero placement on Castle level when climbing up stairs from Valley
|
||||
spell attack by low-Int hero could inflict negative damage
|
||||
some wand/spell/breath zaps that hit a secret door failed to reveal it
|
||||
wand explosion feedback about adjacent door was phrased as if for a wand zap
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user