summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 2c648db20f..c60ead6174 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -930,20 +930,16 @@ static void _spellcasting_side_effects(spell_type spell, bool idonly = false)
if (!_spell_is_utility_spell(spell) && !crawl_state.is_god_acting())
did_god_conduct(DID_SPELL_NONUTILITY, 10 + spell_difficulty(spell));
- if (is_holy_spell(spell))
+ if (is_holy_spell(spell) && !crawl_state.is_god_acting())
did_god_conduct(DID_HOLY, 10 + spell_difficulty(spell));
- if (is_unholy_spell(spell)
- && !you.banished
- && !crawl_state.is_god_acting())
- {
+ if (is_unholy_spell(spell) && !crawl_state.is_god_acting())
did_god_conduct(DID_UNHOLY, 10 + spell_difficulty(spell));
- }
- if (is_unclean_spell(spell))
+ if (is_unclean_spell(spell) && !crawl_state.is_god_acting())
did_god_conduct(DID_UNCLEAN, 10 + spell_difficulty(spell));
- if (is_chaotic_spell(spell))
+ if (is_chaotic_spell(spell) && !crawl_state.is_god_acting())
did_god_conduct(DID_CHAOS, 10 + spell_difficulty(spell));
// Linley says: Condensation Shield needs some disadvantages to keep