summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-22 20:12:04 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-22 20:12:04 +0000
commit99be0be3c7f5bd4fa41cde1bf7f4f8b4c9569efc (patch)
treedf9ae0845d78719ec8c1fd2033ae1224a80ed3f3 /crawl-ref/source/xom.cc
parentd6cdd1b6e2bd4bcd51221ef3113a10bde13867ba (diff)
downloadcrawl-ref-99be0be3c7f5bd4fa41cde1bf7f4f8b4c9569efc.tar.gz
crawl-ref-99be0be3c7f5bd4fa41cde1bf7f4f8b4c9569efc.zip
Fix ?immolation not being autoID'd upon reading.
Fix ?uselessness not using the misc. descriptions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6051 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index a3abecb91e..c7db8d8c7b 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -383,7 +383,7 @@ bool xom_gives_item(int power)
static bool choose_mutatable_monster(const monsters* mon)
{
return (mon->alive() && mon->can_safely_mutate()
- && !mons_is_submerged(mon));
+ && !mons_is_submerged(mon));
}
static monster_type xom_random_demon(int sever, bool use_greater_demons = true)
@@ -699,18 +699,18 @@ static bool xom_is_good(int sever)
mpr("The area is suffused with divine lightning!");
bolt beam;
- beam.beam_source = NON_MONSTER;
- beam.type = dchar_glyph(DCHAR_FIRED_BURST);
- beam.damage = dice_def( 3, 30 );
- beam.flavour = BEAM_ELECTRICITY;
- beam.target_x = you.x_pos;
- beam.target_y = you.y_pos;
- beam.name = "blast of lightning";
- beam.colour = LIGHTCYAN;
- beam.thrower = KILL_MISC;
- beam.aux_source = "Xom's lightning strike";
- beam.ex_size = 2;
- beam.is_tracer = false;
+ beam.beam_source = NON_MONSTER;
+ beam.type = dchar_glyph(DCHAR_FIRED_BURST);
+ beam.damage = dice_def( 3, 30 );
+ beam.flavour = BEAM_ELECTRICITY;
+ beam.target_x = you.x_pos;
+ beam.target_y = you.y_pos;
+ beam.name = "blast of lightning";
+ beam.colour = LIGHTCYAN;
+ beam.thrower = KILL_MISC;
+ beam.aux_source = "Xom's lightning strike";
+ beam.ex_size = 2;
+ beam.is_tracer = false;
beam.is_explosion = true;
explosion(beam);