* add a missed line when backing out ArP changes, (it was commented out anyway)

--HG--
branch : trunk
This commit is contained in:
biglad
2009-10-10 17:44:07 +01:00
parent fe5a3e3c43
commit dfc2945961
+3 -2
View File
@@ -1691,9 +1691,10 @@ uint32 Unit::CalcArmorReducedDamage(Unit* pVictim, const uint32 damage, SpellEnt
float armorPen = maxArmorPen*((Player*)this)->GetRatingBonusValue(CR_ARMOR_PENETRATION) / 100.0f;
// Got the value, apply it
armor -= armorPen;
// Ignore enemy armor by SPELL_AURA_MOD_TARGET_ARMOR_PCT
}
// Ignore enemy armor by SPELL_AURA_MOD_TARGET_ARMOR_PCT
//armor *= 1.0f - GetTotalAuraModifier(SPELL_AURA_MOD_ARMOR_PENETRATION_PCT) / 100.0f;
if (armor < 0.0f)
armor = 0.0f;