diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-05-31 12:52:23 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-05-31 13:00:18 +0100 |
commit | 2d541380887a48e13927de9495f88b37aca6e94f (patch) | |
tree | dd4d66227036ad7eee2e730a8175311aa1f14503 /crawl-ref/source/describe.cc | |
parent | 0995185e0bbcffaaa8d0d409ec90cd261f10698d (diff) | |
download | crawl-ref-2d541380887a48e13927de9495f88b37aca6e94f.tar.gz crawl-ref-2d541380887a48e13927de9495f88b37aca6e94f.zip |
Adjust TSO rN to use piety breakpoints
50, 100, 160 instead of 50, 100, 150.
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 3a36b88544..12e3b6f22f 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -4741,14 +4741,17 @@ void describe_god(god_type which_god, bool give_title) } else if (which_god == GOD_SHINING_ONE) { - have_any = true; - const char *how = (you.piety >= 150) ? "carefully" : - (you.piety >= 100) ? "often" : - (you.piety >= 50) ? "sometimes" : - "occasionally"; + if (you.piety >= piety_breakpoint(1)) + { + have_any = true; + const char *how = + (you.piety >= piety_breakpoint(5)) ? "carefully" : + (you.piety >= piety_breakpoint(3)) ? "often" : + "sometimes"; - cprintf("%s %s shields you from negative energy.\n", - uppercase_first(god_name(which_god)).c_str(), how); + cprintf("%s %s shields you from negative energy.\n", + uppercase_first(god_name(which_god)).c_str(), how); + } } else if (which_god == GOD_TROG) { |