summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-01-11 21:01:24 -0500
committerNeil Moore <neil@s-z.org>2014-01-11 21:01:24 -0500
commitf1be0332a64fbea6fe16392931c6e3bed86b03a9 (patch)
tree8ba28721485c04dc62ccd87ac4bd8305c1bd5f0a /crawl-ref/source/spl-util.cc
parentf89dd6c53ebf2a621f19282f48cf7d5675d01bbe (diff)
downloadcrawl-ref-f1be0332a64fbea6fe16392931c6e3bed86b03a9.tar.gz
crawl-ref-f1be0332a64fbea6fe16392931c6e3bed86b03a9.zip
Don't pretend to extend Static Discharge (#7974)
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r--crawl-ref/source/spl-util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc
index 7cbd786e27..e3f4b44a82 100644
--- a/crawl-ref/source/spl-util.cc
+++ b/crawl-ref/source/spl-util.cc
@@ -947,6 +947,7 @@ int spell_range(spell_type spell, int pow, bool player_spell)
&& you_worship(GOD_VEHUMET)
&& spell != SPELL_STICKY_FLAME
&& spell != SPELL_FREEZE
+ && spell != SPELL_DISCHARGE
&& !player_under_penance()
&& you.piety >= piety_breakpoint(3))
{