diff options
author | elliptic <hyperelliptical@gmail.com> | 2012-12-13 14:38:05 -0500 |
---|---|---|
committer | elliptic <hyperelliptical@gmail.com> | 2012-12-13 15:01:22 -0500 |
commit | fac81a7b0fbf6726b0501f29411db9e9311c335d (patch) | |
tree | 85d4fb44380473ab4e96567ab3359ec37d54d67a /crawl-ref/source/player-stats.cc | |
parent | 2cb2864c60843ba8d1e723e038ea4366b095c9d0 (diff) | |
download | crawl-ref-fac81a7b0fbf6726b0501f29411db9e9311c335d.tar.gz crawl-ref-fac81a7b0fbf6726b0501f29411db9e9311c335d.zip |
Fix Jiyva stat action to use the new carrying capacity formula.
Diffstat (limited to 'crawl-ref/source/player-stats.cc')
-rw-r--r-- | crawl-ref/source/player-stats.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player-stats.cc b/crawl-ref/source/player-stats.cc index 4e8a62cdbd..07bc553fc6 100644 --- a/crawl-ref/source/player-stats.cc +++ b/crawl-ref/source/player-stats.cc @@ -157,7 +157,7 @@ void jiyva_stat_action() } // Try to avoid burdening people or making their armour difficult to use. int current_capacity = carrying_capacity(BS_UNENCUMBERED); - int carrying_strength = cur_stat[0] + (you.burden - current_capacity + 249)/250; + int carrying_strength = cur_stat[0] + (you.burden - current_capacity + 207)/208; int evp = you.unadjusted_body_armour_penalty(); target_stat[0] = max(max(9, 2 + 3 * evp), 2 + carrying_strength); target_stat[1] = 9; |