diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-10 00:05:52 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-10 00:07:37 -0600 |
commit | 6a39de14e47908738072dae4bd68e2403cc9b8c7 (patch) | |
tree | f5ac84c141269d545c4d487fcf805ad3a50ef32d /crawl-ref/source/goditem.cc | |
parent | 2377eb11de1fd731380ea42f1ef0117ac53c1e15 (diff) | |
download | crawl-ref-6a39de14e47908738072dae4bd68e2403cc9b8c7.tar.gz crawl-ref-6a39de14e47908738072dae4bd68e2403cc9b8c7.zip |
For artefact spellbook purposes, mark necromancy as hated by Fedhas.
Diffstat (limited to 'crawl-ref/source/goditem.cc')
-rw-r--r-- | crawl-ref/source/goditem.cc | 8 |
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; } |