]> granicus.if.org Git - nethack/commit
melting ice (trunk only)
authornethack.allison <nethack.allison>
Sun, 12 Oct 2003 04:21:27 +0000 (04:21 +0000)
committernethack.allison <nethack.allison>
Sun, 12 Oct 2003 04:21:27 +0000 (04:21 +0000)
commit6712fc1b04bfa1c0df652c77112d67b388858fbf
tree83da373f3ab0990c1168c5fb782b48e130480f3c
parentf6425ee3c5f1254e569c6d9db4e0a1c58efebd3e
melting ice (trunk only)

add a new melt_ice_away timer for ice created via zapping
a wand/spell of cold.

Some follow-up adjustments to the length of time before
the ice melts may be necessary. Ideally, I'd like to
have it so that the shorter the length of time since
the ice was created, the lesser the chance that it will
melt out from under you.  Likewise, the longer it has
been, the more risky it will be to venture onto it.

At the moment, however, each spot of ice is just
getting a somewhat random time always greater
than 50, which is less than ideal.
doc/fixes35.0
include/extern.h
include/timeout.h
src/timeout.c
src/trap.c
src/zap.c