summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godwrath.cc
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/godwrath.cc
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/godwrath.cc')
-rw-r--r--crawl-ref/source/godwrath.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/godwrath.cc b/crawl-ref/source/godwrath.cc
index ed4a2816c4..008b67c129 100644
--- a/crawl-ref/source/godwrath.cc
+++ b/crawl-ref/source/godwrath.cc
@@ -1887,19 +1887,19 @@ void gozag_incite(monster *mon)
case 0:
if (mon->has_ench(ENCH_MIGHT))
break;
- enchant_monster_with_flavour(mon, mon, BEAM_MIGHT);
+ enchant_actor_with_flavour(mon, mon, BEAM_MIGHT);
success = true;
break;
case 1:
if (mon->has_ench(ENCH_HASTE))
break;
- enchant_monster_with_flavour(mon, mon, BEAM_HASTE);
+ enchant_actor_with_flavour(mon, mon, BEAM_HASTE);
success = true;
break;
case 2:
if (mon->invisible() || you.can_see_invisible())
break;
- enchant_monster_with_flavour(mon, mon, BEAM_INVISIBILITY);
+ enchant_actor_with_flavour(mon, mon, BEAM_INVISIBILITY);
success = true;
break;
}