From 67c7f8f9dbea5d17bdf1ecca94c33a8ac85a5133 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sun, 15 Nov 2009 15:21:39 -0500 Subject: Update delay for exhaustion, confusing touch, and sure blade --- crawl-ref/source/player.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/player.cc') 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 "); } -- cgit v1.2.3-54-g00ecf