-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #Q431 - water elemental caught in beartrap (trunk only)
Reported two months ago by <email deleted>, having a water elemental become trapped in a bear trap seems pretty strange. Fixed by marking water elementals as M1_UNSOLID (like air and fire elementals), which has a side-effect of making them immune to webs as well. Tweaked some unused digging code which checks unsolid(), added unsolid() to the types allowed to bar through iron bars, and brought the check for whether a monster is willing to enter a bear trap location up to date. That code also needed an update to reflect the change made to anti-magic traps last year. Lastly, there was another report which suggested that being hit by a bear trap should dish out some damage (along with a suggestion that wand of opening should work to escape such traps, which has already been done). This makes bear trap do 2d4 damage (on entry, not when trying to pull out after becoming stuck).
- Loading branch information
nethack.rankin
committed
Apr 3, 2007
1 parent
5f0ab02
commit 0b05ca9
Showing
6 changed files
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters