From c968629bb33eb0e5dcf159937742e933f3788369 Mon Sep 17 00:00:00 2001 From: haranp Date: Wed, 7 Jan 2009 12:42:02 +0000 Subject: Add an explosion message for Mephitic Cloud. bolt now has affect_items = true by default. Fixes [2484658]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8303 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 08295b5241..1c82831ed9 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -5060,7 +5060,13 @@ void bolt::refine_for_explosion() name = "ice storm"; type = dchar_glyph(DCHAR_FIRED_ZAP); colour = WHITE; - ex_size = 2 + (random2( ench_power ) > 75); + ex_size = 2 + (random2(ench_power) > 75); + } + + if (name == "stinking cloud") + { + seeMsg = "The beam expands into a vile cloud!"; + hearMsg = "You hear a gentle \'poof\'."; } if (name == "ball of vapour") @@ -5420,7 +5426,7 @@ bolt::bolt() : range(-2), type('*'), ench_power(0), hit(0), thrower(KILL_MISC), ex_size(0), beam_source(MHITNOT), name(), short_name(), is_beam(false), is_explosion(false), is_big_cloud(false), aimed_at_spot(false), - aux_source(), affects_nothing(false), affects_items(false), + aux_source(), affects_nothing(false), affects_items(true), effect_known(true), draw_delay(15), obvious_effect(false), seen(false), path_taken(), range_used(0), is_tracer(false), aimed_at_feet(false), msg_generated(false), -- cgit v1.2.3-54-g00ecf