summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2013-11-15 20:44:43 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2013-12-31 14:19:56 -0700
commit905e27af4c4a0b4028d7b2e5393f6bfe09961998 (patch)
treecbf7f708cd861f64d9e78627c56f7ac8f78e1e7b /crawl-ref/source/invent.cc
parent92186bdbb780405f4621bd21279782948e052670 (diff)
downloadcrawl-ref-905e27af4c4a0b4028d7b2e5393f6bfe09961998.tar.gz
crawl-ref-905e27af4c4a0b4028d7b2e5393f6bfe09961998.zip
Suppress distortion unwield effects for Lucy followers.
In my observations of relatively recent wins by Lucy followers, very few actually bother to take advantage of the 6* gift; this might partially be on account of the limitations of the brand itself, but even for weapons which pair well with it (fast-hitting weapons, axes, and the like) players prefer other brands. I theorise this is partially on account of being effectively restricted to use of the one weapon if the player doesn't want to be subject to extreme negatives. I've run this idea by quite a few people and there doesn't seem to be any negative feedback on it as yet, so I think it's worth giving a try.
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index f6f4c336df..fb910e6cd9 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -1736,6 +1736,7 @@ bool needs_handle_warning(const item_def &item, operation_types oper)
&& is_weapon(item))
{
if (get_weapon_brand(item) == SPWPN_DISTORTION
+ && !you_worship(GOD_LUGONU)
&& !you.duration[DUR_WEAPON_BRAND])
{
return true;