]> granicus.if.org Git - nethack/commit
monsters on melting ice
authorPatR <rankin@nethack.org>
Fri, 21 Dec 2018 22:36:55 +0000 (14:36 -0800)
committerPatR <rankin@nethack.org>
Fri, 21 Dec 2018 22:36:55 +0000 (14:36 -0800)
commitd3682dd5ca549daf2971db6655d7cef9213417ac
treee734f73c59231a755e4c6344a4bd5442c2d882b2
parent0e583161094b417eb64e5c3b02fb91f854fe7ebb
monsters on melting ice

Reported seven years ago, when ice melts underneath a monster, it
hovers there until its next move, then falls in and drowns.  Dunk it
immediately, and give hero credit/blame if it happens during the
hero's turn (so presumably the melting was caused by the hero).

Also, let monster with teleport capability who gets dunked teleport
away from the water before getting wet, the way hero does.
doc/fixes36.2
src/mon.c
src/zap.c