summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 01:50:43 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 01:50:43 +0000
commita0c4594bdee318a857f02b2032e7237198aff1e9 (patch)
tree755c11d15c45a14e91eed7f7fd19f1ede4264cca /crawl-ref/source/religion.cc
parent31651046ba551f1b9caf2c0b24a36306ff921914 (diff)
downloadcrawl-ref-a0c4594bdee318a857f02b2032e7237198aff1e9.tar.gz
crawl-ref-a0c4594bdee318a857f02b2032e7237198aff1e9.zip
Mark known mutagenic randarts as evil items for Zin worshippers.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6229 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 1082889078..58d53d6b6d 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -3037,6 +3037,12 @@ bool god_dislikes_item_handling(const item_def &item)
{
return (true);
}
+
+ if (is_random_artefact(item)
+ && randart_known_wpn_property(item, RAP_MUTAGENIC))
+ {
+ return (true);
+ }
}
if (you.religion == GOD_SHINING_ONE)