diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-20 05:21:47 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-20 05:21:47 +0000 |
commit | 23850f5478c67b109beaf9a9cf207ce75a8fc818 (patch) | |
tree | c446fe35b09901b40e202932c3be36e0a9a3955c | |
parent | daa47d3a8ebcbdda61f03ec1c4dcef575d59f97e (diff) | |
download | crawl-ref-23850f5478c67b109beaf9a9cf207ce75a8fc818.tar.gz crawl-ref-23850f5478c67b109beaf9a9cf207ce75a8fc818.zip |
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
-rw-r--r-- | crawl-ref/source/mutation.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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; |