diff options
-rw-r--r-- | crawl-ref/source/beam.cc | 10 | ||||
-rw-r--r-- | crawl-ref/source/spells1.cc | 1 |
2 files changed, 9 insertions, 2 deletions
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), diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index a2cc577f9e..92d6f8ef23 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -580,6 +580,7 @@ bool stinking_cloud( int pow, bolt &beem ) beem.beam_source = MHITYOU; beem.thrower = KILL_YOU; beem.is_beam = false; + beem.is_explosion = true; beem.aux_source.clear(); // Don't bother tracing if you're targetting yourself. |