summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/decks.cc6
-rw-r--r--crawl-ref/source/main.cc3
2 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index 6ce78c4488..3947e0aeca 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -2211,6 +2211,7 @@ static void _sage_card(int power, deck_rarity_type rarity)
else
{
you.duration[DUR_SAGE] = random2(1800) + 200;
+ you.duration[DUR_SAGE] *= BASELINE_DELAY;
you.sage_bonus_skill = static_cast<skill_type>(result);
you.sage_bonus_degree = power / 25;
mprf(MSGCH_PLAIN, "You feel studious about %s.", skill_name(result));
@@ -2327,7 +2328,7 @@ static void _dowsing_card(int power, deck_rarity_type rarity)
if (things_to_do[2])
{
mpr("You feel telepathic!");
- you.duration[DUR_TELEPATHY] = random2(power/4);
+ you.duration[DUR_TELEPATHY] = random2(power/4) * BASELINE_DELAY;
}
}
@@ -2921,7 +2922,8 @@ bool card_effect(card_type which_card, deck_rarity_type rarity,
break;
case CARD_BARGAIN:
- you.duration[DUR_BARGAIN] += random2(power) + random2(power) + 2;
+ you.duration[DUR_BARGAIN] += (random2(power) + random2(power) + 2)
+ * BASELINE_DELAY;
break;
case CARD_MAP:
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc
index 15ba2340d1..138b3e32ae 100644
--- a/crawl-ref/source/main.cc
+++ b/crawl-ref/source/main.cc
@@ -2808,7 +2808,8 @@ void world_reacts()
in_a_cloud();
if (you.level_type == LEVEL_DUNGEON && you.duration[DUR_TELEPATHY])
- detect_creatures( 1 + you.duration[DUR_TELEPATHY] / 2, true );
+ detect_creatures( 1 + you.duration[DUR_TELEPATHY] /
+ (2 * BASELINE_DELAY), true );
_decrement_durations();