Core/Mechanic: Remove unneeded(now) argument.
This commit is contained in:
1 parent
c190326de4
commit
dcc3b2e341
3 files changed
+3
-3
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user