diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-02-04 22:02:46 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-02-16 09:00:33 -0700 |
commit | 45dd1986163b2e3cbf2a0ba88c8fb7aa810d8858 (patch) | |
tree | 2aca2c8d57b99a0135a882aa4d4ef0375caada75 /crawl-ref/source/godwrath.cc | |
parent | 0e8058b2ef305db884a1a674ae20207fc5c66570 (diff) | |
download | crawl-ref-45dd1986163b2e3cbf2a0ba88c8fb7aa810d8858.tar.gz crawl-ref-45dd1986163b2e3cbf2a0ba88c8fb7aa810d8858.zip |
Scale Trog's berserker wrath monsters better with XL.
If you abandon Trog *really* early, you might still get overwhelmed with
berserk bears, but other than that you can probably expect to only see
berserkers of various sorts shortly before you'd expect to encounter
them in their normal non-berserk versions.
This should make Trog wrath considerably more survivable early on.
Diffstat (limited to 'crawl-ref/source/godwrath.cc')
-rw-r--r-- | crawl-ref/source/godwrath.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/godwrath.cc b/crawl-ref/source/godwrath.cc index ee0da84e4c..96262f4752 100644 --- a/crawl-ref/source/godwrath.cc +++ b/crawl-ref/source/godwrath.cc @@ -665,13 +665,16 @@ static bool _trog_retribution() while (points > 0) { - int cost = min(random2(8) + 3, points); + int cost = + min(min(random2avg((1 + you.experience_level / 3), 2) + 3, + 10), + points); // quick reduction for large values if (points > 20 && coinflip()) { points -= 10; - cost = 10; + cost = min(1 + div_rand_round(you.experience_level, 2), 10); } points -= cost; |