diff options
author | Charles Otto <ottochar@gmail.com> | 2010-02-07 15:50:23 -0500 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2010-02-07 15:53:53 -0500 |
commit | 508e7aa14019755a94657779c38ff953f41f8218 (patch) | |
tree | de60afe7e781f3f8cd43cbc8179732feee4aec0b /crawl-ref/source/goditem.h | |
parent | 382d8eb1a8e8fbb6ec3ddf2485f9a9a6a4067b55 (diff) | |
download | crawl-ref-508e7aa14019755a94657779c38ff953f41f8218.tar.gz crawl-ref-508e7aa14019755a94657779c38ff953f41f8218.zip |
Make Fedhas only care about necromancy that affects corpses/chunks
Alter Fedhas' necromancy conduct, now Fedhas only cares about a
necromancy effects that involve corpses or chunks.
Diffstat (limited to 'crawl-ref/source/goditem.h')
-rw-r--r-- | crawl-ref/source/goditem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/goditem.h b/crawl-ref/source/goditem.h index 3b1a2ab37b..47901c8bc1 100644 --- a/crawl-ref/source/goditem.h +++ b/crawl-ref/source/goditem.h @@ -15,6 +15,7 @@ bool is_evil_item(const item_def& item); bool is_unclean_item(const item_def& item); bool is_chaotic_item(const item_def& item); bool is_hasty_item(const item_def& item); +bool is_corpse_violating_item(const item_def & item); bool is_holy_discipline(int discipline); bool is_evil_discipline(int discipline); bool is_holy_spell(spell_type spell, god_type god = GOD_NO_GOD); @@ -23,6 +24,7 @@ bool is_evil_spell(spell_type spell, god_type god = GOD_NO_GOD); bool is_unclean_spell(spell_type spell, god_type god = GOD_NO_GOD); bool is_chaotic_spell(spell_type spell, god_type god = GOD_NO_GOD); bool is_hasty_spell(spell_type spell, god_type god = GOD_NO_GOD); +bool is_corpse_violating_spell(spell_type spell, god_type = GOD_NO_GOD); bool is_any_spell(spell_type spell, god_type god = GOD_NO_GOD); bool is_spellbook_type(const item_def& item, bool book_or_rod, bool (*suitable)(spell_type spell, god_type god) = @@ -34,6 +36,7 @@ bool is_evil_spellbook(const item_def& item); bool is_unclean_spellbook(const item_def& item); bool is_chaotic_spellbook(const item_def& item); bool is_hasty_spellbook(const item_def& item); +bool is_corpse_violating_spellbook(const item_def & item); bool god_hates_spellbook(const item_def& item); bool is_holy_rod(const item_def& item); bool is_unholy_rod(const item_def& item); @@ -41,6 +44,7 @@ bool is_evil_rod(const item_def& item); bool is_unclean_rod(const item_def& item); bool is_chaotic_rod(const item_def& item); bool is_hasty_rod(const item_def& item); +bool is_corpse_violating_rod(const item_def & item); bool god_hates_rod(const item_def& item); conduct_type good_god_hates_item_handling(const item_def &item); conduct_type god_hates_item_handling(const item_def &item); |