fixes entry for #635 - magical breathing w/ gills

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
This commit is contained in:
PatR
2021-11-18 18:55:18 -08:00
parent 90313d443d
commit 274290bcdf

View 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