diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-11-02 12:36:30 -0800 |
---|---|---|
committer | Stefan O'Rear <stefanor@cox.net> | 2009-11-02 12:36:30 -0800 |
commit | e899ce42db18f54a06e082c482dc528daa3be1d1 (patch) | |
tree | ca06b33b59d174fe1dea9d7ddfb4d5f983676d52 /crawl-ref/source/item_use.cc | |
parent | 6722acc40a80c6951d4f485a84ada395c4de8317 (diff) | |
download | crawl-ref-e899ce42db18f54a06e082c482dc528daa3be1d1.tar.gz crawl-ref-e899ce42db18f54a06e082c482dc528daa3be1d1.zip |
Give +Invis the same treatment as +Lev
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 7 |
1 files changed, 7 insertions, 0 deletions
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); |