summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-23 15:04:16 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-23 15:04:16 +0000
commit35dd043cc93f3d34925c007e35685c75f3be5bc9 (patch)
tree7335e383cf1ec5929a25628bdb6e1273b02c4daf
parentbf55c6a25e44a18aa54c20ef4c416564d815c533 (diff)
downloadcrawl-ref-35dd043cc93f3d34925c007e35685c75f3be5bc9.tar.gz
crawl-ref-35dd043cc93f3d34925c007e35685c75f3be5bc9.zip
Made demonspawn poison and electricity resistance level-3,
so that you won't have them strengthened by !oMutation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@876 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/mutation.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc
index 4000bacbc0..90c973c685 100644
--- a/crawl-ref/source/mutation.cc
+++ b/crawl-ref/source/mutation.cc
@@ -1938,11 +1938,12 @@ void demonspawn(void)
if (one_chance_in(12))
{
whichm = MUT_SHOCK_RESISTANCE;
- howm = 1;
+ howm = 3;
}
if (!you.mutation[MUT_CALL_TORMENT] && one_chance_in(15))
{
+ // Must keep this at 1. OK since it never happens randomly.
whichm = MUT_TORMENT_RESISTANCE;
howm = 1;
}
@@ -2033,7 +2034,7 @@ void demonspawn(void)
if (one_chance_in(4))
{
whichm = MUT_POISON_RESISTANCE;
- howm = 1;
+ howm = 3;
}
if (one_chance_in(4))