Core/Stats:
- Update dodge base, parry cap and dodge cap values to cataclysm. - Remove useless function since defense skill was remove in 4.0.1
This commit is contained in:
1 parent
40f6e1dd1e
commit
9fc75cffc9
4 files changed
+15
-46
No files matched your search
@@ -2585,9 +2585,6 @@ float Unit::GetUnitMissChance(WeaponAttackType attType) const
|
||||
{
|
||||
float miss_chance = 5.00f;
|
||||
|
||||
if (Player const* player = ToPlayer())
|
||||
miss_chance += player->GetMissPercentageFromDefence();
|
||||
|
||||
if (attType == RANGED_ATTACK)
|
||||
miss_chance -= GetTotalAuraModifier(SPELL_AURA_MOD_ATTACKER_RANGED_HIT_CHANCE);
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user