summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-08 00:09:03 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-08 00:09:03 +0000
commit20bb21380e30bd6cf6c3959222404e85c26fff1c (patch)
tree1b34d63b2486ef3b635637e44367c24c65720896 /crawl-ref/source/spells3.h
parenta9cbe2e3d8d4bdc982061667a072a060a912134a (diff)
downloadcrawl-ref-20bb21380e30bd6cf6c3959222404e85c26fff1c.tar.gz
crawl-ref-20bb21380e30bd6cf6c3959222404e85c26fff1c.zip
Expand equip_undead() to handle smart undead as well as stupid undead,
and use it to equip Yred's enslaved intact souls. Also, allow undead capable of using items and drinking potions to drink potions of healing and heal wounds, since undead players can. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8310 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.h')
-rw-r--r--crawl-ref/source/spells3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spells3.h b/crawl-ref/source/spells3.h
index 3ab8babacb..0b0ec2bb02 100644
--- a/crawl-ref/source/spells3.h
+++ b/crawl-ref/source/spells3.h
@@ -128,6 +128,7 @@ bool cast_summon_horrible_things(int pow, god_type god = GOD_NO_GOD);
/* ***********************************************************************
* called from: ability - spell
* *********************************************************************** */
+void equip_undead(const coord_def &a, int corps, int monster, int monnum);
bool animate_remains(const coord_def &a, corpse_type class_allowed,
beh_type beha, unsigned short hitting,
god_type god = GOD_NO_GOD, bool actual = true,