summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index 5b26c0d37e..65190511b9 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -1820,7 +1820,8 @@ static void _helm_card(int power, deck_rarity_type rarity)
if (x_chance_in_y(num_resists, 4-i))
{
// Add a temporary resistance.
- you.duration[possible_resists[i]] += random2(power/7) + 1;
+ int duration = (random2(power/7) + 1) * BASELINE_DELAY;
+ you.duration[possible_resists[i]] += duration;
msg::stream << "You feel resistant to " << resist_names[i]
<< '.' << std::endl;
--num_resists;