summaryrefslogtreecommitdiffstats
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
parentee4b3ecd32b265938de0020699063511e5ebd79b (diff)
downloadcrawl-ref-747894c923de6c2e841bc03e33b0cc2723d8c319.tar.gz
crawl-ref-747894c923de6c2e841bc03e33b0cc2723d8c319.zip
Make scroll of vulnerability only apply -MR.
-rw-r--r--crawl-ref/source/dat/descript/items.txt6
-rw-r--r--crawl-ref/source/item_use.cc8
2 files changed, 3 insertions, 11 deletions
diff --git a/crawl-ref/source/dat/descript/items.txt b/crawl-ref/source/dat/descript/items.txt
index e55b3583bc..c8067f501b 100644
--- a/crawl-ref/source/dat/descript/items.txt
+++ b/crawl-ref/source/dat/descript/items.txt
@@ -1244,10 +1244,8 @@ although it is never directly fatal.
%%%%
scroll of vulnerability
-This scroll cancels all magical enchantments from the reader and from beings in
-the vicinity. It also briefly halves the resistance to hostile enchantments of
-the reader and nearby beings. The latter effect does not apply to beings fully
-immune to magic.
+This briefly halves the resistance to hostile enchantments of the reader and
+nearby beings. The scroll cannot affect beings fully immune to magic.
%%%%
scythe
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)