diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2013-09-05 05:30:00 +0200 |
---|---|---|
committer | elliptic <hyperelliptical@gmail.com> | 2013-09-20 00:49:34 -0400 |
commit | 0b93d47875e4df4502969e507ae59fcd68d7f43d (patch) | |
tree | 84f35d241891cf0e2e6866caa03d5def4f6941f5 /crawl-ref/source/godpassive.cc | |
parent | b151e97c2ddb5779475fb2735e920b1831dd500a (diff) | |
download | crawl-ref-0b93d47875e4df4502969e507ae59fcd68d7f43d.tar.gz crawl-ref-0b93d47875e4df4502969e507ae59fcd68d7f43d.zip |
Use piety breakpoint in chei godpassive
Diffstat (limited to 'crawl-ref/source/godpassive.cc')
-rw-r--r-- | crawl-ref/source/godpassive.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/godpassive.cc b/crawl-ref/source/godpassive.cc index bf450691fe..72c1467464 100644 --- a/crawl-ref/source/godpassive.cc +++ b/crawl-ref/source/godpassive.cc @@ -30,11 +30,11 @@ int chei_stat_boost(int piety) { if (!you_worship(GOD_CHEIBRIADOS) || you.penance[GOD_CHEIBRIADOS]) return 0; - if (piety < 30) // Since you've already begun to slow down. + if (piety < piety_breakpoint(0)) // Since you've already begun to slow down. return 1; - if (piety > 160) // Fudging this slightly to agree with ****** piety. + if (piety >= piety_breakpoint(5)) return 15; - return min((piety - 10) / 10, 14); + return ((piety - 10) / 10); } // Eat from one random off-level item stack. |