summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/goditem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/goditem.cc')
-rw-r--r--crawl-ref/source/goditem.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/goditem.cc b/crawl-ref/source/goditem.cc
index 742236b286..0ed9ec196d 100644
--- a/crawl-ref/source/goditem.cc
+++ b/crawl-ref/source/goditem.cc
@@ -507,6 +507,11 @@ bool god_hates_spell_type(spell_type spell, god_type god)
return (true);
break;
+ case GOD_FEDHAS:
+ if (disciplines & SPTYP_NECROMANCY)
+ return (true);
+ break;
+
case GOD_CHEIBRIADOS:
if (is_hasty_spell(spell))
return (true);
@@ -601,6 +606,9 @@ bool god_dislikes_spell_discipline(int discipline, god_type god)
case GOD_ELYVILON:
return (discipline & (SPTYP_CONJURATION | SPTYP_SUMMONING));
+ case GOD_FEDHAS:
+ return (discipline & SPTYP_NECROMANCY);
+
default:
break;
}