diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-20 01:32:57 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-20 17:29:37 +0100 |
commit | 85138818b78fbeec60ef96a72f8fa5ba05034274 (patch) | |
tree | 9543907da119d0fc74e06b06a122dad876197cf4 | |
parent | 198cb7cf6376840927d897c24c5ab2bec36b4739 (diff) | |
download | crawl-ref-85138818b78fbeec60ef96a72f8fa5ba05034274.tar.gz crawl-ref-85138818b78fbeec60ef96a72f8fa5ba05034274.zip |
IOOD as a monster spell.
-rw-r--r-- | crawl-ref/source/dat/database/monspell.txt | 8 | ||||
-rw-r--r-- | crawl-ref/source/mon-cast.cc | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/crawl-ref/source/dat/database/monspell.txt b/crawl-ref/source/dat/database/monspell.txt index 0ce22a12e5..ce3a29d30e 100644 --- a/crawl-ref/source/dat/database/monspell.txt +++ b/crawl-ref/source/dat/database/monspell.txt @@ -92,6 +92,14 @@ Symbol of Torment cast unseen Symbol of Torment cast @The_something@ calls on the powers of Hell! +%%%% +Iskenderun's Orb of Destruction cast + +@The_monster@ conjures a glowing orb. + +@The_monster@ conjures an orb of pure magic. + +@The_monster@ launches a ball of destructive magic. ##################################################### # Individual innate spells (breathing and spitting). ##################################################### diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc index ba5982b8c4..25864af558 100644 --- a/crawl-ref/source/mon-cast.cc +++ b/crawl-ref/source/mon-cast.cc @@ -20,6 +20,7 @@ #include "mon-behv.h" #include "mon-iter.h" #include "mon-place.h" +#include "mon-project.h" #include "terrain.h" #include "mgen_data.h" #include "coord.h" @@ -669,6 +670,11 @@ bolt mons_spells( monsters *mons, spell_type spell_cast, int power, beam.is_beam = true; break; + case SPELL_IOOD: // tracer only + beam.flavour = BEAM_NUKE; + beam.is_beam = true; + break; + default: if (check_validity) { @@ -2171,6 +2177,9 @@ void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast, monster->foe, 0, god)); } return; + case SPELL_IOOD: + cast_iood(monster, 6 * monster->hit_dice, &pbolt); + return; } // If a monster just came into view and immediately cast a spell, |