diff options
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 5106e310f6..8c5f71d7b9 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -338,9 +338,8 @@ static int _apply_spellcasting_success_boosts(spell_type spell, int chance) int wiz_factor = 87; if (you.religion == GOD_VEHUMET - && !player_under_penance() && you.piety >= 50 - && (spell_typematch(spell, SPTYP_CONJURATION) - || spell_typematch(spell, SPTYP_SUMMONING))) + && !player_under_penance() && you.piety >= piety_breakpoint(1) + && vehumet_supports_spell(spell)) { // [dshaligram] Fail rate multiplier used to be .5, scaled // back to 67%. |