Core/Spells: fixed displayed spell hit bonus aura effects in character panel

This commit is contained in:
Ovahlord committed 2019-09-02 15:06:56 +02:00
1 parent cd25d7c884
commit 4eba6027d3
1 file changed
+1
@@ -692,6 +692,7 @@ void Player::UpdateRangedHitChances()
void Player::UpdateSpellHitChances()
{
m_modSpellHitChance = (float)GetTotalAuraModifier(SPELL_AURA_MOD_SPELL_HIT_CHANCE);
SetFloatValue(PLAYER_FIELD_UI_SPELL_HIT_MODIFIER, m_modSpellHitChance);
m_modSpellHitChance += GetRatingBonusValue(CR_HIT_SPELL);
}