Core/Mechanic: Remove unneeded(now) argument.

This commit is contained in:
Chaplain committed 2011-09-07 11:04:20 +03:00
1 parent c190326de4
commit dcc3b2e341
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2724,7 +2724,7 @@ float Unit::GetUnitMissChance(WeaponAttackType attType) const
float miss_chance = 5.00f;
if (Player const* player = ToPlayer())
miss_chance += player->GetMissPercentageFromDefence(attType);
miss_chance += player->GetMissPercentageFromDefence();
if (attType == RANGED_ATTACK)
miss_chance -= GetTotalAuraModifier(SPELL_AURA_MOD_ATTACKER_RANGED_HIT_CHANCE);