summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mgen_data.h
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2010-05-14 12:59:31 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2010-05-14 12:59:31 -0500
commitfe124af7c8388b4a3b573e26c953b673627da735 (patch)
treee3a361597cab21a6475f16d2067b6134ddc16acb /crawl-ref/source/mgen_data.h
parent748edcc3bc20b5ec1c2f84cc16f62f6d60a99ac6 (diff)
downloadcrawl-ref-fe124af7c8388b4a3b573e26c953b673627da735.tar.gz
crawl-ref-fe124af7c8388b4a3b573e26c953b673627da735.zip
Make the monster version of Doroklohe use an "entombed" enchantment.
This removes Khufu-specific code, and allows the spell (or something much like it) to be reused for e.g. Zin's eventual Imprison ability. Note that the regeneration rate in the duration is based on HD instead of actual regeneration rate, in order to avoid the randomness of the latter. In Khufu's case, it seems to be long enough to fully heal him, as before. It's a bit hackish, but it's easy enough to change if there turns out to be a better way.
Diffstat (limited to 'crawl-ref/source/mgen_data.h')
-rw-r--r--crawl-ref/source/mgen_data.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/mgen_data.h b/crawl-ref/source/mgen_data.h
index 8fbf726532..064a3e5595 100644
--- a/crawl-ref/source/mgen_data.h
+++ b/crawl-ref/source/mgen_data.h
@@ -62,8 +62,7 @@ struct mgen_data
god_type god;
// The number of hydra heads, the number of manticore attack volleys,
- // the number of merged slime creatures, or the indicator for when
- // Khufu is entombed.
+ // or the number of merged slime creatures.
//
// Note: in older versions this field was used for both this and for
// base_type.