From e899ce42db18f54a06e082c482dc528daa3be1d1 Mon Sep 17 00:00:00 2001 From: Stefan O'Rear Date: Mon, 2 Nov 2009 12:36:30 -0800 Subject: Give +Invis the same treatment as +Lev --- crawl-ref/source/item_use.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 4f5af8d051..a58057e26a 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -3773,6 +3773,13 @@ void jewellery_remove_effects(item_def &item, bool mesg) } break; + case RING_INVISIBILITY: + if (you.duration[DUR_INVIS]) + { + you.duration[DUR_INVIS] = 1; + } + break; + case RING_MAGICAL_POWER: mpr("You feel your mana capacity decrease."); // dec_max_mp(9); -- cgit v1.2.3-54-g00ecf