summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-04 20:00:59 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-04 20:00:59 +0000
commitb4e1fcc5a91b621fea7db0b17943089fd601e62e (patch)
tree4321b6ce291c4c53483b12af8ebc74ecfcfee631 /crawl-ref/source/spl-cast.cc
parentfd5481911630dc8d3b48dda516d33f02d066ce67 (diff)
downloadcrawl-ref-b4e1fcc5a91b621fea7db0b17943089fd601e62e.tar.gz
crawl-ref-b4e1fcc5a91b621fea7db0b17943089fd601e62e.zip
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
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc9
1 files changed, 2 insertions, 7 deletions
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();