From b4e1fcc5a91b621fea7db0b17943089fd601e62e Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 4 Mar 2008 20:00:59 +0000 Subject: Clean up the Necromutation -> excommunication check for the good gods. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3523 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-cast.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'crawl-ref/source/spl-cast.cc') diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index ec465346e8..5da89bd99c 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -801,7 +801,7 @@ void spellcasting_side_effects(spell_type spell, bool idonly = false) did_god_conduct( DID_UNHOLY, 10 + spell_difficulty(spell) ); } - // Linley says: Condensation Shield needs some disadvantages to keep + // Linley says: Condensation Shield needs some disadvantages to keep // it from being a no-brainer... this isn't much, but its a start -- bwr if (spell_typematch(spell, SPTYP_FIRE)) expose_player_to_element(BEAM_FIRE, 0); @@ -810,13 +810,8 @@ void spellcasting_side_effects(spell_type spell, bool idonly = false) { did_god_conduct( DID_NECROMANCY, 10 + spell_difficulty(spell) ); - if (spell == SPELL_NECROMUTATION - && (you.religion == GOD_ELYVILON - || you.religion == GOD_SHINING_ONE - || you.religion == GOD_ZIN)) - { + if (spell == SPELL_NECROMUTATION && is_good_god(you.religion)) excommunication(); - } } alert_nearby_monsters(); -- cgit v1.2.3-54-g00ecf