Core/Entities: completely remove 60% melee miss cap as there is no proof of its existence

- Auras modifying hit chance should have full effect now

Ref issue #21629

(cherry picked from commit a35d0a5f56c224ea081cdd5e16eb7bd181e70ab0)
This commit is contained in:
ariel-
2021-09-06 21:32:47 +02:00
committed by Shauren
parent 9eac63b43a
commit a6e84ebfab
4 changed files with 5 additions and 31 deletions
+2 -4
View File
@@ -742,14 +742,12 @@ void Player::UpdateArmorPenetration(int32 amount)
void Player::UpdateMeleeHitChances()
{
m_modMeleeHitChance = 7.5f + (float)GetTotalAuraModifier(SPELL_AURA_MOD_HIT_CHANCE);
m_modMeleeHitChance += GetRatingBonusValue(CR_HIT_MELEE);
m_modMeleeHitChance = 7.5f + GetRatingBonusValue(CR_HIT_MELEE);
}
void Player::UpdateRangedHitChances()
{
m_modRangedHitChance = 7.5f + (float)GetTotalAuraModifier(SPELL_AURA_MOD_HIT_CHANCE);
m_modRangedHitChance += GetRatingBonusValue(CR_HIT_RANGED);
m_modRangedHitChance = 7.5f + GetRatingBonusValue(CR_HIT_RANGED);
}
void Player::UpdateSpellHitChances()