summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-05-31 12:30:44 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-05-31 12:58:54 +0100
commit0995185e0bbcffaaa8d0d409ec90cd261f10698d (patch)
tree755d793b9cd43b22ae52e61b9944c152000251cc /crawl-ref/source/describe.cc
parent02b381b3c56d261953dd1cc69b5036340ea109e5 (diff)
downloadcrawl-ref-0995185e0bbcffaaa8d0d409ec90cd261f10698d.tar.gz
crawl-ref-0995185e0bbcffaaa8d0d409ec90cd261f10698d.zip
Use piety breakpoints in Zin description
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index d7bee4cfc5..3a36b88544 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -4730,10 +4730,11 @@ void describe_god(god_type which_god, bool give_title)
if (which_god == GOD_ZIN)
{
have_any = true;
- const char *how = (you.piety >= 150) ? "carefully" :
- (you.piety >= 100) ? "often" :
- (you.piety >= 50) ? "sometimes" :
- "occasionally";
+ const char *how =
+ (you.piety >= piety_breakpoint(5)) ? "carefully" :
+ (you.piety >= piety_breakpoint(3)) ? "often" :
+ (you.piety >= piety_breakpoint(1)) ? "sometimes" :
+ "occasionally";
cprintf("%s %s shields you from chaos.\n",
uppercase_first(god_name(which_god)).c_str(), how);