Core/Items: Implemented spell penetration stat on items and use it from enchantments, original patch by zergtmn
This commit is contained in:
1 parent
8ab453b465
commit
cf62d7b776
4 files changed
+22
-23
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user