summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-06 03:06:44 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-06 03:06:44 +0000
commit7349eedd00eabe85d7e76e457011d48522b97593 (patch)
tree7c15709f60c29c86d6e100656f8bcfbbff7e55cf
parentc9280b209b895d9ce902114acd2ba527b002049c (diff)
downloadcrawl-ref-7349eedd00eabe85d7e76e457011d48522b97593.tar.gz
crawl-ref-7349eedd00eabe85d7e76e457011d48522b97593.zip
When abandoning Yred, turn all of the undead servants he's sent you
hostile, including any zombies you've raised using his power. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6874 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/religion.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index fc1d1eb32c..d7db81e57b 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -4772,6 +4772,8 @@ void excommunication(god_type new_god)
break;
case GOD_YREDELEMNUL:
+ _make_god_gifts_hostile(false);
+
MiscastEffect(&you, -old_god, SPTYP_NECROMANCY,
5 + you.experience_level, random2avg(88, 3),
"the anger of Yredelemnul");