]> granicus.if.org Git - nethack/commitdiff
fixes entry for #635 - magical breathing w/ gills
authorPatR <rankin@nethack.org>
Fri, 19 Nov 2021 02:55:18 +0000 (18:55 -0800)
committerPatR <rankin@nethack.org>
Fri, 19 Nov 2021 02:55:18 +0000 (18:55 -0800)
Fixes entry for pull request by entrez.  If poly'd hero is wearing
an amulet of magical breathing, avoid gradually losing hit points
while out of water when in aquatic form.  You won't be able to put
on an amulet of magical breathing if already in aquatic form, but
you could have one carry over from being worn in some other form.

Implemented for monsters too but won't have any effect during play
for them because they never use that particular type of amulet.

Closes #635

doc/fixes37.0

index d3fe9f937d2b31a811deaec60f4031377937522a..4ee60073892f6a021d0f9492c6ac97506b67d190 100644 (file)
@@ -684,6 +684,8 @@ the chance for #untrap to free a monster stuck in a web was very unlikely
 if #untrap monst-from-web failure happened while hero was standing on a spot
        where a new web couldn't be created (furniture, grave, magic portal),
        the expected "<monst> remains entangled" feedback wasn't delivered
+if hero is wearing an amulet of magical breathing and polymorphs into a fish
+       or sea monster, don't lose health for turns spent out of water
 
 
 Fixes to 3.7.0-x Problems that Were Exposed Via git Repository