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.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index f5865ae038..a2b4fbf49b 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -788,7 +788,10 @@ static void _spellcasting_side_effects(spell_type spell, bool idonly = false)
return;
if (!_spell_is_utility_spell(spell))
- did_god_conduct( DID_SPELL_NONUTILITY, 10 + spell_difficulty(spell) );
+ did_god_conduct(DID_SPELL_NONUTILITY, 10 + spell_difficulty(spell));
+
+ if (spell_typematch(spell, SPTYP_HOLY))
+ did_god_conduct(DID_HOLY, 10 + spell_difficulty(spell));
// Self-banishment gets a special exemption - you're there to spread light
if (_spell_is_unholy(spell) && !you.banished)