summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-11-15 15:21:39 -0500
committerCharles Otto <ottochar@gmail.com>2009-11-15 23:46:48 -0500
commit67c7f8f9dbea5d17bdf1ecca94c33a8ac85a5133 (patch)
tree4986953b03beadaa64acabf97172853c04dec996 /crawl-ref/source/player.cc
parentf3181091e894c233e5490366233acab45ab6144b (diff)
downloadcrawl-ref-67c7f8f9dbea5d17bdf1ecca94c33a8ac85a5133.tar.gz
crawl-ref-67c7f8f9dbea5d17bdf1ecca94c33a8ac85a5133.zip
Update delay for exhaustion, confusing touch, and sure blade
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc10
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 ");
}