summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r--crawl-ref/source/artefact.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index f0f097e69b..e6e9263755 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -184,6 +184,16 @@ static bool _god_fits_artefact(const god_type which_god, const item_def &item,
return (false);
break;
+ case GOD_FEAWN:
+ // Anti-necromancy god: nothing involving necromancy or
+ // necromantic spell use.
+ if (brand == SPWPN_DRAINING || brand == SPWPN_PAIN
+ || brand == SPWPN_VAMPIRICISM)
+ {
+ return (false);
+ }
+ break;
+
default:
break;
}