summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-10 16:08:53 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-10 16:08:53 +0000
commit9c54579bf00656ac37b4bed56fe710399f723c8f (patch)
tree0daff5beacad58581b1f3a71ff3d6ff77eeabcca /crawl-ref/source
parent65b6a91d63885d508bd0b6f32fbbc1cb7c100790 (diff)
downloadcrawl-ref-9c54579bf00656ac37b4bed56fe710399f723c8f.tar.gz
crawl-ref-9c54579bf00656ac37b4bed56fe710399f723c8f.zip
Fix [2014538]: Properly mark Makhleb's lightning strike as an explosion,
as is already done with Xom's, so that it doesn't miss as often. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6476 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/abl-show.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index a1755b148e..f0e01f7ed8 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -1618,7 +1618,7 @@ static bool _do_ability(const ability_def& abil)
you.attribute[ATTR_DIVINE_LIGHTNING_PROTECTION] = 1;
simple_god_message(" hurls a blast of lightning!", GOD_MAKHLEB);
- // make a divine lightning bolt...
+ // Make a divine lightning bolt, and fire!
beam.beam_source = NON_MONSTER;
beam.type = dchar_glyph(DCHAR_FIRED_BURST);
beam.damage = dice_def(3, 30);
@@ -1631,8 +1631,7 @@ static bool _do_ability(const ability_def& abil)
beam.aux_source = "Makhleb's lightning strike";
beam.ex_size = 1 + you.skills[SK_INVOCATIONS] / 8;
beam.is_tracer = false;
-
- // ... and fire!
+ beam.is_explosion = true;
explosion(beam);
// protection down