Core/Items: Implemented spell penetration stat on items and use it from enchantments, original patch by zergtmn

This commit is contained in:
Shauren
2010-12-31 22:59:36 +01:00
parent 8ab453b465
commit cf62d7b776
4 changed files with 22 additions and 23 deletions

View File

@@ -197,7 +197,7 @@ public:
void Absorb(AuraEffect * aurEff, DamageInfo & dmgInfo, uint32 & absorbAmount)
{
absorbAmount = int32(CalculatePctN(GetTarget()->GetTotalAttackPowerValue(BASE_ATTACK), absorbPct));
absorbAmount = uint32(CalculatePctN(GetTarget()->GetTotalAttackPowerValue(BASE_ATTACK), absorbPct));
aurEff->SetAmount(0);
}