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
This commit is contained in:
ariel-
2018-03-16 12:18:38 -03:00
parent 29c1119352
commit a35d0a5f56
4 changed files with 5 additions and 31 deletions
+2 -4
View File
@@ -850,14 +850,12 @@ void Player::UpdateArmorPenetration(int32 amount)
void Player::UpdateMeleeHitChances()
{
m_modMeleeHitChance = (float)GetTotalAuraModifier(SPELL_AURA_MOD_HIT_CHANCE);
m_modMeleeHitChance += GetRatingBonusValue(CR_HIT_MELEE);
m_modMeleeHitChance = GetRatingBonusValue(CR_HIT_MELEE);
}
void Player::UpdateRangedHitChances()
{
m_modRangedHitChance = (float)GetTotalAuraModifier(SPELL_AURA_MOD_HIT_CHANCE);
m_modRangedHitChance += GetRatingBonusValue(CR_HIT_RANGED);
m_modRangedHitChance = GetRatingBonusValue(CR_HIT_RANGED);
}
void Player::UpdateSpellHitChances()