diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-10 20:20:54 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-10 21:38:22 -0600 |
commit | 2a5c544ae8650b4a2e5aed57a487cbdf1731d487 (patch) | |
tree | 4a27ac2195a982f4fa01d3dc950d2ef22b4668bd /crawl-ref/source/xom.cc | |
parent | 551055afaa86b1b141c89ecd9948a865fa779e6f (diff) | |
download | crawl-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/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index 499abfa106..16b624a2c7 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -2216,7 +2216,7 @@ static int _xom_enchant_monster(bool helpful, bool debug = false) ench = RANDOM_ELEMENT(enchantments); } - enchant_monster_with_flavour(mon, 0, ench); + enchant_actor_with_flavour(mon, 0, ench); // Take a note. static char ench_buf[80]; |