summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-08 22:25:29 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-08 22:25:29 +0000
commitfe135a4986670c7b47cd6f386f8853f9f7a74d6b (patch)
tree711cfbe03eff8650649be75c442158d463cfae03 /crawl-ref/source/item_use.cc
parentcaf161d17b7c515e1de55b1253bf89b48eeb2008 (diff)
downloadcrawl-ref-fe135a4986670c7b47cd6f386f8853f9f7a74d6b.tar.gz
crawl-ref-fe135a4986670c7b47cd6f386f8853f9f7a74d6b.zip
Lanterns of shadows now cut vision radius by 2. This may be too good.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1430 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index aa84c83c77..d90cde6d28 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -399,7 +399,9 @@ void wield_effects(int item_wield_2, bool showMsgs)
{
if (showMsgs)
mpr("The area is filled with flickering shadows.");
-
+
+ you.current_vision -= 2;
+ setLOSRadius(you.current_vision);
you.special_wield = SPWLD_SHADOW;
}
}