From 23850f5478c67b109beaf9a9cf207ce75a8fc818 Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 20 Nov 2007 05:21:47 +0000 Subject: backport from trunk to 0.3: don't give Yred-worshipping demonspawn the "raise dead" mutation git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.3@2880 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/mutation.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc index d001a6eb45..bfff211012 100644 --- a/crawl-ref/source/mutation.cc +++ b/crawl-ref/source/mutation.cc @@ -243,6 +243,8 @@ const char *mutation_descrip[][3] = { {"You can summon demons to your aid.", "", ""}, {"You can hurl blasts of hellfire.", "", ""}, {"You can call on the torments of Hell.", "", ""}, + + /* Not summoners/necromancers/worshippers of Yredelemnul */ {"You can raise the dead to walk for you.", "", ""}, // 50 {"You can control demons.", "", ""}, @@ -2215,7 +2217,9 @@ void demonspawn(void) howm = 1; } - if (you.skills[SK_SUMMONINGS] < 3 && you.skills[SK_NECROMANCY] < 3 + // Yredelemnulites have the raise dead invocation + if (you.religion != GOD_YREDELEMNUL && + you.skills[SK_SUMMONINGS] < 3 && you.skills[SK_NECROMANCY] < 3 && one_chance_in(10)) { whichm = MUT_RAISE_DEAD; -- cgit v1.2.3-54-g00ecf