summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-data.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-10 20:20:54 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-10 21:38:22 -0600
commit2a5c544ae8650b4a2e5aed57a487cbdf1731d487 (patch)
tree4a27ac2195a982f4fa01d3dc950d2ef22b4668bd /crawl-ref/source/spl-data.h
parent551055afaa86b1b141c89ecd9948a865fa779e6f (diff)
downloadcrawl-ref-2a5c544ae8650b4a2e5aed57a487cbdf1731d487.tar.gz
crawl-ref-2a5c544ae8650b4a2e5aed57a487cbdf1731d487.zip
New monster spell: Drain Magic.
It's an antimagic enchantment, borrowing the code from melee antimagic (which now internally refers to the new beam type). I have a vague notion that this might remove antimagic effects from the caster at some point, but that's for later.
Diffstat (limited to 'crawl-ref/source/spl-data.h')
-rw-r--r--crawl-ref/source/spl-data.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-data.h b/crawl-ref/source/spl-data.h
index d933b16fec..6dce9e1866 100644
--- a/crawl-ref/source/spl-data.h
+++ b/crawl-ref/source/spl-data.h
@@ -3763,6 +3763,19 @@ struct spell_desc
},
{
+ SPELL_DRAIN_MAGIC, "Drain Magic",
+ SPTYP_HEXES,
+ SPFLAG_DIR_OR_TARGET | SPFLAG_MONSTER,
+ 5,
+ 200,
+ LOS_RADIUS, LOS_RADIUS,
+ 0,
+ NULL,
+ true,
+ false,
+},
+
+{
SPELL_NO_SPELL, "nonexistent spell",
0,
SPFLAG_TESTING,