summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use2.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-11-15 21:23:06 -0500
committerCharles Otto <ottochar@gmail.com>2009-11-15 23:46:59 -0500
commita647fb948535b182ce98246fc02b600d1990436a (patch)
treea99e193244a55d7906ddaacc034fceeac6545efe /crawl-ref/source/it_use2.cc
parente18e5ec63e4656efb3bfcf3d0dd56cba0d3084c7 (diff)
downloadcrawl-ref-a647fb948535b182ce98246fc02b600d1990436a.tar.gz
crawl-ref-a647fb948535b182ce98246fc02b600d1990436a.zip
Delay adjustment for death's door
Also update 1 use of DUR_PARALYSIS I missed previously.
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r--crawl-ref/source/it_use2.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc
index c5f4ab302c..bbd9480716 100644
--- a/crawl-ref/source/it_use2.cc
+++ b/crawl-ref/source/it_use2.cc
@@ -273,7 +273,8 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known)
case POT_PARALYSIS:
you.paralyse(NULL,
- (2 + random2( 6 + you.duration[DUR_PARALYSIS] )) / factor);
+ (2 + random2( 6 + you.duration[DUR_PARALYSIS]
+ / BASELINE_DELAY )) / factor);
xom_is_stimulated(64 / xom_factor);
break;