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.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index ea184c8b49..f51eb60a69 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -352,6 +352,10 @@ static int _apply_spellcasting_success_boosts(spell_type spell, int chance)
wiz_factor += (100 - wiz_factor) / 3;
}
+ // Apply Brilliance factor here.
+ if (you.duration[DUR_BRILLIANCE])
+ fail_reduce = fail_reduce * 67 / 100;
+
// Draconians get a boost to dragon-form.
if (spell == SPELL_DRAGON_FORM && player_genus(GENPC_DRACONIAN))
fail_reduce = fail_reduce * 70 / 100;