From 809ee96dad841a541d55401d1ecf7b4c3b7ef05e Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sun, 15 Nov 2009 21:47:16 -0500 Subject: Delay adjustments for ring of fire Update ring of fire's duration, also fix one use of DUR_REPEL I missed previously. --- crawl-ref/source/traps.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/traps.cc') diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc index 0b9b1f7636..53313da1d5 100644 --- a/crawl-ref/source/traps.cc +++ b/crawl-ref/source/traps.cc @@ -1190,11 +1190,13 @@ void trap_def::shoot_ammo(actor& act, bool was_known) } else { + int repel_turns = you.duration[DUR_REPEL_MISSILES] + / BASELINE_DELAY; // Note that this uses full (not random2limit(foo,40)) // player_evasion. int your_dodge = you.melee_evasion(NULL) - 2 + (random2(you.dex) / 3) - + (you.duration[DUR_REPEL_MISSILES] * 10); + + (repel_turns * 10); // Check if it got past dodging. Deflect Missiles provides // immunity to such traps. -- cgit v1.2.3-54-g00ecf