summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-07 12:42:02 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-07 12:42:02 +0000
commitc968629bb33eb0e5dcf159937742e933f3788369 (patch)
tree9c874648767a9038b3e329b13a9d1d90d3f976c5 /crawl-ref/source/beam.cc
parent3e5e7a27aa380f2ef4d0d1ce8416b82b48856374 (diff)
downloadcrawl-ref-c968629bb33eb0e5dcf159937742e933f3788369.tar.gz
crawl-ref-c968629bb33eb0e5dcf159937742e933f3788369.zip
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
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc10
1 files changed, 8 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),