summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-18 13:57:05 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-18 13:57:05 -0600
commit3593fbb549ba5b991b92994c94b529ac99045d46 (patch)
treeaa32c649f1154e0f16e544f015f86b1fa672b271 /crawl-ref/source/output.cc
parentd358ba6df56b55e8e16aa7572458501f8544f1e1 (diff)
downloadcrawl-ref-3593fbb549ba5b991b92994c94b529ac99045d46.tar.gz
crawl-ref-3593fbb549ba5b991b92994c94b529ac99045d46.zip
Expand Zin's protection from just mutation to other chaotic effects.
Specifically, protect from rotting, disease, and miasma, since the first of them is tied to the other two, and all three are chaotic. Since negative energy resistance no longer provides rotting resistance, this fills in the gap left by TSO.
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 1744cf8527..f6383d2651 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -1825,7 +1825,8 @@ static std::vector<formatted_string> _get_overview_resistances(
const int rmuta = (wearing_amulet(AMU_RESIST_MUTATION, calc_unid)
|| player_mutation_level(MUT_MUTATION_RESISTANCE) == 3
|| you.religion == GOD_ZIN && you.piety >= 150);
- const int rrott = you.res_rotting();
+ const int rrott = (you.res_rotting()
+ || you.religion == GOD_ZIN && you.piety >= 150);
const int rslow = wearing_amulet(AMU_RESIST_SLOW, calc_unid);
snprintf(buf, sizeof buf,