diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-19 19:23:27 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-19 19:23:27 +0000 |
commit | 415f936b786bb55a039e6d85050286aa567ec264 (patch) | |
tree | 29873d12dd4ca72c347cc64b2529ff0603f64045 /crawl-ref/source/religion.cc | |
parent | 01f766a657b031f5817e34ca002920d99dc48625 (diff) | |
download | crawl-ref-415f936b786bb55a039e6d85050286aa567ec264.tar.gz crawl-ref-415f936b786bb55a039e6d85050286aa567ec264.zip |
Fix previous piety pool tweak.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7505 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 7b4e95e705..d03fcd3a49 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -5747,7 +5747,7 @@ void offer_items() you.duration[DUR_PIETY_POOL] = MAX_PIETY * 2; const int estimated_piety = - std::min(MAX_PIETY, you.piety + you.duration[DUR_PIETY_POOL]); + std::min(MAX_PIETY * 2, you.piety + you.duration[DUR_PIETY_POOL]); if (player_under_penance()) { @@ -5759,7 +5759,7 @@ void offer_items() } std::string result = "You feel that " + god_name(GOD_ZIN) - + " will soon be "; + + " will soon be "; result += (estimated_piety > 130) ? "exalted by your worship" : |