diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-19 22:51:57 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-20 17:29:36 +0100 |
commit | 0cebeb433d68aea197f5ee1d2c38809b71c2e3dd (patch) | |
tree | 67cea0b5ab60075666e8ca110c9aa7035bfa0d79 /crawl-ref/source/spl-cast.cc | |
parent | 7e4b512c4cf3b6269ddb3748760c8cf050b60b39 (diff) | |
download | crawl-ref-0cebeb433d68aea197f5ee1d2c38809b71c2e3dd.tar.gz crawl-ref-0cebeb433d68aea197f5ee1d2c38809b71c2e3dd.zip |
Iskenderun's Orb of Destruction
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index e35944c8ce..efb8386ee0 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -37,6 +37,7 @@ #include "message.h" #include "mon-cast.h" #include "mon-place.h" +#include "mon-project.h" #include "mon-stuff.h" #include "mutation.h" #include "ouch.h" @@ -1514,6 +1515,13 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) return (SPRET_ABORT); break; + case SPELL_IOOD: + if (!player_tracer(ZAP_IOOD, powc, beam)) + return (SPRET_ABORT); + if (!cast_iood(&you, powc, &beam)) + return (SPRET_ABORT); + break; + // Clouds and explosions. case SPELL_MEPHITIC_CLOUD: if (!stinking_cloud(powc, beam)) |