summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-16 21:42:51 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-16 21:42:51 +0000
commitfcd2f73d85997682a9c89c897348ae8e32432589 (patch)
tree96faec16d93756f84ac6b64aaa67e6f7befd5cec /crawl-ref/source/directn.cc
parent66e21b71a9d7d1e2569caa2c63d25e3b935fd2c0 (diff)
downloadcrawl-ref-fcd2f73d85997682a9c89c897348ae8e32432589.tar.gz
crawl-ref-fcd2f73d85997682a9c89c897348ae8e32432589.zip
Replace Yred's "Control Undead" power with "Enslave Soul", as proposed
on crawl-ref-discuss. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7263 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 4e18b8aa0f..29ec859c09 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -2847,6 +2847,17 @@ static void _describe_monster(const monsters *mon)
}
}
+ if (mons_enslaved_body_and_soul(mon))
+ {
+ mprf(MSGCH_EXAMINE, "%s soul is ripe for the taking.",
+ mon->pronoun(PRONOUN_CAP_POSSESSIVE).c_str());
+ }
+ else if (mons_enslaved_soul(mon))
+ {
+ mprf(MSGCH_EXAMINE, "%s is a disembodied soul.",
+ mon->pronoun(PRONOUN_CAP).c_str());
+ }
+
text = _mon_enchantments_string(mon);
if (!text.empty())
print_formatted_paragraph(text, numcols);