summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-05-12 04:14:27 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-05-15 14:11:50 +0100
commitcbb52e4a65af5f84a7be74ce032b9a1da90da469 (patch)
tree9945356565adba40ee19624ffd2f9398745c31f2 /crawl-ref/source/output.cc
parent5487ac093f68aeb255a6fe379f966b22b08e474e (diff)
downloadcrawl-ref-cbb52e4a65af5f84a7be74ce032b9a1da90da469.tar.gz
crawl-ref-cbb52e4a65af5f84a7be74ce032b9a1da90da469.zip
Cap sustain abilities at 1 level
Two levels of sustain abilities is very rarely relevant, and isn't something that makes for an interesting multi-level resist.
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 2ef6b85cbc..aa35531ce5 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -2329,7 +2329,7 @@ static vector<formatted_string> _get_overview_resistances(
out += _resist_composer("rElec", cwidth, relec) + "\n";
const int rsust = player_sust_abil(calc_unid);
- out += _resist_composer("SustAb", cwidth, rsust, 2) + "\n";
+ out += _resist_composer("SustAb", cwidth, rsust) + "\n";
const int rmuta = (you.rmut_from_item(calc_unid)
|| player_mutation_level(MUT_MUTATION_RESISTANCE) == 3);