summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-10-26 00:16:31 -0700
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2009-10-26 13:40:51 +0530
commitd55c844e48e7f56c4ec9b9bb6badd21a68022ea7 (patch)
treed18c6ca3bb1d6f02e7f0fb252dedee500ee7f621 /crawl-ref/source/mutation.cc
parent270ec5c73a1bf0f0514a8a8f95d4c191424b03bb (diff)
downloadcrawl-ref-d55c844e48e7f56c4ec9b9bb6badd21a68022ea7.tar.gz
crawl-ref-d55c844e48e7f56c4ec9b9bb6badd21a68022ea7.zip
Add stochastic torment resistance per dpeg
The mutation comes in three levels and blocks 20%, 40%, or 60% (shown to the user) of torments. Right now, you can cast Symbol of Torment with it; I doubt this is too good. It is on the tier-1 list for demonspawn mutations, and I expect it to be balanced appropriately. Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/mutation.cc')
-rw-r--r--crawl-ref/source/mutation.cc16
1 files changed, 14 insertions, 2 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc
index 65a42c9403..807e6e522d 100644
--- a/crawl-ref/source/mutation.cc
+++ b/crawl-ref/source/mutation.cc
@@ -1181,7 +1181,19 @@ mutation_def mutation_defs[] = {
"Your patterned scales recede somewhat."},
"patterned scales"
- }
+ },
+ { MUT_STOCHASTIC_TORMENT_RESISTANCE, 0, 3, false, false,
+ {"You are somewhat able to resist unholy torments (1 in 5 success).",
+ "You are decently able to resist unholy torments (2 in 5 success).",
+ "You are rather able to resist unholy torments (3 in 5 success)."},
+
+ {"You feel a slight anaesthesia.",
+ "You feel a slight anaesthesia.",
+ "You feel a strange anaesthesia."},
+
+ {"","",""},
+
+ "stochastic torment resistance"},
};
const mutation_def& get_mutation_def(mutation_type mut)
@@ -2668,7 +2680,7 @@ void roll_demonspawn_mutations()
static const mutation_type awesome_muts[] = {
MUT_HEAT_RESISTANCE, MUT_FAST, MUT_TELEPORT_AT_WILL, MUT_MAPPING,
MUT_ROBUST, MUT_NEGATIVE_ENERGY_RESISTANCE, MUT_BLACK_SCALES,
- MUT_METALLIC_SCALES, MUT_RED2_SCALES
+ MUT_METALLIC_SCALES, MUT_RED2_SCALES, MUT_STOCHASTIC_TORMENT_RESISTANCE
};
// "Great" mutations define strategy in common encounters, but not