From 41c2fda9ffce79d393e919a6a4ff1153a0d44174 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sun, 15 Nov 2009 02:14:48 -0500 Subject: Delay adjustment for DUR_SLAYING --- crawl-ref/source/decks.cc | 2 +- crawl-ref/source/player.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc index 423e4ba337..0fbdd0611e 100644 --- a/crawl-ref/source/decks.cc +++ b/crawl-ref/source/decks.cc @@ -1736,7 +1736,7 @@ static void _battle_lust_card(int power, deck_rarity_type rarity) const int power_level = get_power_level(power, rarity); if (power_level >= 2) { - you.duration[DUR_SLAYING] = random2(power/6) + 1; + you.duration[DUR_SLAYING] = (random2(power/6) + 1) * BASELINE_DELAY; mpr("You feel deadly."); } else if (power_level == 1) diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 503d26b330..ec8fb53657 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -4004,7 +4004,7 @@ int slaying_bonus(char which_affected, bool ranged) ret += ranged ? 3 : -1; } - ret += std::min(you.duration[DUR_SLAYING] / 13, 6); + ret += std::min(you.duration[DUR_SLAYING] / (13 * BASELINE_DELAY), 6); return (ret); } -- cgit v1.2.3-54-g00ecf