From 2cc88f46f53a765e1cfaf7214a08540421f7f694 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sun, 15 Nov 2009 00:11:40 -0500 Subject: Modify DUR_LIQUID_FLAMES to count delay instead of turns Decrease (and increase) sticky flames duration by the players delay instead of using perceived turns. This is a behavioral change, previously sticky flame did damage proportional to delay but the counter was only decreased once per perceived turn. Compared to the old behavior slow players take less damage and fast players take more damage over the course of the sticky flame. --- crawl-ref/source/main.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crawl-ref/source/main.cc') diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc index 198328964b..41acd40da2 100644 --- a/crawl-ref/source/main.cc +++ b/crawl-ref/source/main.cc @@ -2196,12 +2196,7 @@ static void _decrement_durations() if (_decrement_a_duration(DUR_SLEEP, delay)) you.awake(); - // Sticky flame paradox: It both lasts longer and does more damage - // overall if you're moving more slowly. - // - // Rationalisation: I guess it gets rubbed off/falls off/etc. if you - // move around more. - dec_napalm_player(); + dec_napalm_player(delay); if (_decrement_a_duration(DUR_ICY_ARMOUR, delay, "Your icy armour evaporates.", coinflip(), -- cgit v1.2.3-54-g00ecf