From cd397dc4d76ee1ca808b7a19780b7f0a573331f1 Mon Sep 17 00:00:00 2001 From: johnny shelley Date: Thu, 19 Nov 2009 05:44:39 +0000 Subject: ammo mulch changes fire / frost / electric / reaping are not auto mulch flame has chance to save reduced by 2 frost has chance to save reduced by 1 reaping has chance to save reduced by 3 electric has standard chance as it only procs 1 in 3 added was_missile to beam properties in order to not auto mulch other beam types than BEAM_MISSILE Signed-off-by: Matthew Cline --- crawl-ref/source/beam.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 79068c942f..b1027781fe 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -3058,7 +3058,7 @@ void bolt::drop_object() ASSERT( item != NULL && item->is_valid() ); // Conditions: beam is missile and not tracer. - if (is_tracer || flavour != BEAM_MISSILE) + if (is_tracer || !was_missile) return; // Summoned creatures' thrown items disappear. -- cgit v1.2.3-54-g00ecf