summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/art-func.h
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-03-03 18:22:44 -0500
committerShmuale Mark <shm.mark@gmail.com>2014-03-03 18:42:22 -0500
commited793cfbc94745db0287022dca31f6878774b628 (patch)
treef87e82be6d7b504e178005884c6a0b51bf4353fb /crawl-ref/source/art-func.h
parent29b03513c540df7fc3cd34da90862ab16fd114d9 (diff)
downloadcrawl-ref-ed793cfbc94745db0287022dca31f6878774b628.tar.gz
crawl-ref-ed793cfbc94745db0287022dca31f6878774b628.zip
Give the ring of Shadows an umbra.
The size is equivalent to Brilliance's halo, and the stealth modifier is 1.5. It loses +4 EV and -4 Acc since lower accuracy is an inherent trait of an umbra.
Diffstat (limited to 'crawl-ref/source/art-func.h')
-rw-r--r--crawl-ref/source/art-func.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/art-func.h b/crawl-ref/source/art-func.h
index 69f81b88d2..9614709812 100644
--- a/crawl-ref/source/art-func.h
+++ b/crawl-ref/source/art-func.h
@@ -753,6 +753,17 @@ static void _BRILLIANCE_unequip(item_def *item, bool *show_msgs)
}
///////////////////////////////////////////////////
+static void _SHADOWS_equip(item_def *item, bool *show_msgs, bool unmeld)
+{
+ invalidate_agrid(true);
+}
+
+static void _SHADOWS_unequip(item_def *item, bool *show_msgs)
+{
+ invalidate_agrid(true);
+}
+
+///////////////////////////////////////////////////
static void _DEVASTATOR_equip(item_def *item, bool *show_msgs, bool unmeld)
{
_equip_mpr(show_msgs, "Time to lay down the shillelagh law.");