*Use 4 spaces instead of tabs in .cpp and .h files

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-14 16:06:21 -07:00
parent b37f9b1e55
commit 4ab8d4a5dd
14 changed files with 65 additions and 65 deletions
+1 -1
View File
@@ -1673,7 +1673,7 @@ uint32 Unit::CalcArmorReducedDamage(Unit* pVictim, const uint32 damage, SpellEnt
// Apply Player CR_ARMOR_PENETRATION rating and percent talents
if (GetTypeId()==TYPEID_PLAYER)
armor *= 1.0f - ((Player*)this)->GetArmorPenetrationPct() / 100.0f;
armor *= 1.0f - ((Player*)this)->GetArmorPenetrationPct() / 100.0f;
// Ignore enemy armor by SPELL_AURA_MOD_TARGET_ARMOR_PCT
//armor *= 1.0f - GetTotalAuraModifier(SPELL_AURA_MOD_ARMOR_PENETRATION_PCT) / 100.0f;