From 6a39de14e47908738072dae4bd68e2403cc9b8c7 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 10 Nov 2009 00:05:52 -0600 Subject: For artefact spellbook purposes, mark necromancy as hated by Fedhas. --- crawl-ref/source/goditem.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crawl-ref/source/goditem.cc') 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; } -- cgit v1.2.3-54-g00ecf