summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-07-06 09:59:11 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-07-06 19:45:35 -0400
commit747894c923de6c2e841bc03e33b0cc2723d8c319 (patch)
treec05984fa6d70855e8895549b144deb9345269c51 /crawl-ref/source/item_use.cc
parentee4b3ecd32b265938de0020699063511e5ebd79b (diff)
downloadcrawl-ref-747894c923de6c2e841bc03e33b0cc2723d8c319.tar.gz
crawl-ref-747894c923de6c2e841bc03e33b0cc2723d8c319.zip
Make scroll of vulnerability only apply -MR.
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index bb7d50a49b..899f91f084 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2630,9 +2630,6 @@ static void _handle_read_book(int item_slot)
static void _vulnerability_scroll()
{
- // First cast antimagic on yourself.
- antimagic();
-
mon_enchant lowered_mr(ENCH_LOWERED_MR, 1, &you, 400);
// Go over all creatures in LOS.
@@ -2640,8 +2637,6 @@ static void _vulnerability_scroll()
{
if (monster* mon = monster_at(*ri))
{
- debuff_monster(mon);
-
// If relevant, monsters have their MR halved.
if (!mons_immune_magic(mon))
mon->add_ench(lowered_mr);
@@ -2652,8 +2647,7 @@ static void _vulnerability_scroll()
}
}
- you.set_duration(DUR_LOWERED_MR, 40, 0,
- "Magic dampens, then quickly surges around you.");
+ you.set_duration(DUR_LOWERED_MR, 40, 0, "Magic quickly surges around you.");
}
static bool _is_cancellable_scroll(scroll_type scroll)