diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 45b77308f5..93dfd415b7 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3698,17 +3698,19 @@ void display_char_status() if (you.duration[DUR_CONFUSING_TOUCH]) { + int hi = 40 * BASELINE_DELAY; + int low = 20 * BASELINE_DELAY; mprf("Your hands are glowing %s red.", - (you.duration[DUR_CONFUSING_TOUCH] > 40) ? "an extremely bright" : - (you.duration[DUR_CONFUSING_TOUCH] > 20) ? "bright" + (you.duration[DUR_CONFUSING_TOUCH] > hi) ? "an extremely bright" : + (you.duration[DUR_CONFUSING_TOUCH] > low) ? "bright" : "a soft"); } if (you.duration[DUR_SURE_BLADE]) { mprf("You have a %sbond with your blade.", - (you.duration[DUR_SURE_BLADE] > 15) ? "strong " : - (you.duration[DUR_SURE_BLADE] > 5) ? "" + (you.duration[DUR_SURE_BLADE] > 15 * BASELINE_DELAY) ? "strong " : + (you.duration[DUR_SURE_BLADE] > 5 * BASELINE_DELAY) ? "" : "weak "); } |