summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ghost.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-31 14:49:01 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-31 14:50:26 +0100
commitf8ab5653d8d2df09a719ff09ad51f2cf5294ec8c (patch)
tree03e842701ef2919242ee4e680a0ae22ab0fc6b83 /crawl-ref/source/ghost.cc
parent1b66d630c184ea4f9be104414c18773fc18cb72b (diff)
parent9939a9514e001f19dc384d8ae8b27940327afbe8 (diff)
downloadcrawl-ref-f8ab5653d8d2df09a719ff09ad51f2cf5294ec8c.tar.gz
crawl-ref-f8ab5653d8d2df09a719ff09ad51f2cf5294ec8c.zip
Merge branch 'iood'
Diffstat (limited to 'crawl-ref/source/ghost.cc')
-rw-r--r--crawl-ref/source/ghost.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/ghost.cc b/crawl-ref/source/ghost.cc
index 1a5885f909..55ae7ffc26 100644
--- a/crawl-ref/source/ghost.cc
+++ b/crawl-ref/source/ghost.cc
@@ -39,7 +39,6 @@ std::vector<ghost_demon> ghosts;
// Order for looking for conjurations for the 1st & 2nd spell slots,
// when finding spells to be remembered by a player's ghost.
static spell_type search_order_conj[] = {
-// 0
SPELL_LEHUDIBS_CRYSTAL_SPEAR,
SPELL_FIRE_STORM,
SPELL_ICE_STORM,
@@ -50,8 +49,8 @@ static spell_type search_order_conj[] = {
SPELL_LIGHTNING_BOLT,
SPELL_AIRSTRIKE,
SPELL_STICKY_FLAME,
-// 10
SPELL_ISKENDERUNS_MYSTIC_BLAST,
+ SPELL_IOOD,
SPELL_BOLT_OF_MAGMA,
SPELL_THROW_ICICLE,
SPELL_BOLT_OF_FIRE,
@@ -61,7 +60,6 @@ static spell_type search_order_conj[] = {
SPELL_VENOM_BOLT,
SPELL_IRON_SHOT,
SPELL_STONE_ARROW,
-// 20
SPELL_THROW_FLAME,
SPELL_THROW_FROST,
SPELL_PAIN,
@@ -285,6 +283,8 @@ void ghost_demon::init_random_demon()
spells[1] = SPELL_ISKENDERUNS_MYSTIC_BLAST;
if (one_chance_in(25))
spells[1] = SPELL_HELLFIRE;
+ if (one_chance_in(25))
+ spells[1] = SPELL_IOOD;
if (one_chance_in(25))
spells[2] = SPELL_SMITING;