diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-07-09 13:02:42 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-07-09 13:02:42 +0200 |
commit | 89a77e27833963a3af99a1f863893b2828166f09 (patch) | |
tree | f1e60f8033cf326b3d100d63a5b7702d517469a9 /crawl-ref/source/sprint.cc | |
parent | 6ca78d4c6115e64b0ce209b47223a94520416354 (diff) | |
download | crawl-ref-89a77e27833963a3af99a1f863893b2828166f09.tar.gz crawl-ref-89a77e27833963a3af99a1f863893b2828166f09.zip |
Fix Sif piety inflation in sprint.
There was a 9x increase due to scaled monster XP and a 9x increase
due to scaled piety gain. The exercise amount is now scaled back
down for piety gain purposes.
Diffstat (limited to 'crawl-ref/source/sprint.cc')
-rw-r--r-- | crawl-ref/source/sprint.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/sprint.cc b/crawl-ref/source/sprint.cc index b54b767537..541813e647 100644 --- a/crawl-ref/source/sprint.cc +++ b/crawl-ref/source/sprint.cc @@ -54,6 +54,11 @@ int sprint_modify_exp(int exp) return exp * 9; } +int sprint_modify_exp_inverse(int exp) +{ + return div_rand_round(exp, 9); +} + int sprint_modify_skills(int skill_gain) { return skill_gain * 27; |