summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-18 16:46:48 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-18 16:46:48 +0200
commit8420352d20a25c155bc1f00c022f72aee2eadf44 (patch)
tree227fbc80e49a8875138b42783c7ace8ac6c819f6 /crawl-ref/source/spl-cast.h
parent8ed81a833a536bdfa1876c73f655221da2c216fb (diff)
downloadcrawl-ref-8420352d20a25c155bc1f00c022f72aee2eadf44.tar.gz
crawl-ref-8420352d20a25c155bc1f00c022f72aee2eadf44.zip
Don't cap spell power for failure rate calculations.
This means that capped spells continue getting easier to cast after hitting the cap, which is probably how it should be. Fixes 2881204.
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r--crawl-ref/source/spl-cast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h
index 7595117df3..630334f9b3 100644
--- a/crawl-ref/source/spl-cast.h
+++ b/crawl-ref/source/spl-cast.h
@@ -48,7 +48,7 @@ int list_spells(bool toggle_with_I = true, bool viewing = false,
int minRange = -1);
int spell_fail( spell_type spell );
int calc_spell_power(spell_type spell, bool apply_intel,
- bool fail_rate_chk = false);
+ bool fail_rate_chk = false, bool cap_power = true);
int spell_enhancement( unsigned int typeflags );
// last updaetd 12may2000 {dlb}