diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-04-28 19:47:40 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-04-28 20:27:01 +0200 |
commit | 36f3665044689f6d938d43cbbdbb7ea1a07b5069 (patch) | |
tree | cea74cb9c2957aab08b317581659618da6eb7fe9 /crawl-ref/source/spl-miscast.cc | |
parent | dcee277b902f42139cbae85eb15ad75a7c46ebb5 (diff) | |
download | crawl-ref-36f3665044689f6d938d43cbbdbb7ea1a07b5069.tar.gz crawl-ref-36f3665044689f6d938d43cbbdbb7ea1a07b5069.zip |
Djinn: stealing their magic makes them true monsters.
MP draining tends to be way powerful when applied to HP, thus we instead
use monster-like antimagic. This applies to antimagic weapons as well,
although those would work well even without this.
Diffstat (limited to 'crawl-ref/source/spl-miscast.cc')
-rw-r--r-- | crawl-ref/source/spl-miscast.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/spl-miscast.cc b/crawl-ref/source/spl-miscast.cc index 26d3ea400b..4cdcbd4c1f 100644 --- a/crawl-ref/source/spl-miscast.cc +++ b/crawl-ref/source/spl-miscast.cc @@ -1505,9 +1505,9 @@ void MiscastEffect::_divination_you(int severity) break; case 1: mpr("You lose your focus."); - if (you.magic_points > 0) + if (you.magic_points > 0 || you.species == SP_DJINNI) { - dec_mp(3 + random2(10)); + drain_mp(3 + random2(10)); mpr("You suddenly feel drained of magical energy!", MSGCH_WARN); } break; @@ -1521,9 +1521,9 @@ void MiscastEffect::_divination_you(int severity) { case 0: mpr("You lose concentration completely!"); - if (you.magic_points > 0) + if (you.magic_points > 0 || you.species == SP_DJINNI) { - dec_mp(5 + random2(20)); + drain_mp(5 + random2(20)); mpr("You suddenly feel drained of magical energy!", MSGCH_WARN); } break; |