summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorjohnny shelley <jwshelley@shell-22005.(none)>2009-11-19 05:44:39 +0000
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-20 02:34:28 -0800
commitcd397dc4d76ee1ca808b7a19780b7f0a573331f1 (patch)
tree2da4843a0e279a8a2ddb79326812249d70d7e6c2 /crawl-ref/source/beam.cc
parent1dcce9fd9868509eca825cf264c95dcb0b5e511a (diff)
downloadcrawl-ref-cd397dc4d76ee1ca808b7a19780b7f0a573331f1.tar.gz
crawl-ref-cd397dc4d76ee1ca808b7a19780b7f0a573331f1.zip
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 <zelgadis@sourceforge.net>
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc2
1 files changed, 1 insertions, 1 deletions
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.