Make walls from the Tomb card expire after a while, depending on power
authorChris Campbell <chriscampbell89@gmail.com>
Thu, 15 Mar 2012 23:21:43 +0000 (23:21 +0000)
committerChris Campbell <chriscampbell89@gmail.com>
Fri, 16 Mar 2012 00:09:11 +0000 (00:09 +0000)
commit51d2b46e94183685f5dcabfef3937193ba56a8fa
treea2d8eb60f41491f6c0a3f24fa8e09af622ba84df
parent15954afdecfd5f98938501b957361744a914a7bd
Make walls from the Tomb card expire after a while, depending on power

The duration is randomised but with a minimum based on power. Even at
high power it might not be enough to rest to full health (loads of time
to use consumables to heal safely, though). Duration might need further
tweaking, not sure.

Also fixes Khufu's tomb removing nearby walls that weren't originally
part of the tomb when it disappears.
crawl-ref/source/decks.cc
crawl-ref/source/misc.cc
crawl-ref/source/mon-cast.cc
crawl-ref/source/spl-goditem.cc