summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-death.h
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-09-16 00:47:36 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-09-16 00:49:40 +1000
commit90ff876f93c26960f4c5f5dc5229adf0b2448ef4 (patch)
tree35d5ccd1139dc20290ee0e2fa4527da9372d26b9 /crawl-ref/source/mon-death.h
parent785ef0ada16dec5d1c898a0b0d41a8dac589120e (diff)
downloadcrawl-ref-90ff876f93c26960f4c5f5dc5229adf0b2448ef4.tar.gz
crawl-ref-90ff876f93c26960f4c5f5dc5229adf0b2448ef4.zip
Partially implement spirits, though not fully.
They still need to summon a top-tier holy monster when they day, and need better indications of how far along they are to actually carking it; currently their message shifts from "fading away" to "mostly faded away" when they're less than 20 or so turns from completely going. They're implemented as constantly fleeing, but are quite slow. You can't actually corner them ever, which may be a problem from an interface point of view. It's not necessarily the best implementation, but it did the trick... might have to change. :)
Diffstat (limited to 'crawl-ref/source/mon-death.h')
-rw-r--r--crawl-ref/source/mon-death.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-death.h b/crawl-ref/source/mon-death.h
index 479dd625b4..5a7b8da361 100644
--- a/crawl-ref/source/mon-death.h
+++ b/crawl-ref/source/mon-death.h
@@ -15,3 +15,5 @@ void elven_twins_unpacify (monster* twin);
bool mons_is_kirke (monster* mons);
void hogs_to_humans();
+
+void spirit_fades (monster *spirit);