Core/Units: removed PvE level delta based block chance bonus
* according to simulationcraft there is no sign of it being real
This commit is contained in:
1 parent
44d22dd3b3
commit
dbc0de1e71
1 file changed
+1
-5
@@ -2521,6 +2521,7 @@ float Unit::GetMeleeMissChance(Unit const* victim) const
|
||||
float Unit::GetUnitBlockChance(Unit const* victim) const
|
||||
{
|
||||
float chance = 0.f;
|
||||
|
||||
if (Player const* playerVictim = victim->ToPlayer())
|
||||
{
|
||||
if (playerVictim->CanBlock())
|
||||
@@ -2536,11 +2537,6 @@ float Unit::GetUnitBlockChance(Unit const* victim) const
|
||||
{
|
||||
chance = 5.0f;
|
||||
chance += victim->GetTotalAuraModifier(SPELL_AURA_MOD_BLOCK_PERCENT);
|
||||
|
||||
int32 const levelDiff = victim->getLevelForTarget(this) - getLevelForTarget(victim);
|
||||
|
||||
if (levelDiff > 0)
|
||||
chance += 0.2f * levelDiff;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user