Core/Spells: Fixed Rip damage.

Signed-off-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
johnholiver
2011-01-28 11:22:52 +01:00
committed by Shauren
parent f3317ea1d5
commit 2df58e5d8f

View File

@@ -635,7 +635,7 @@ int32 AuraEffect::CalculateAmount(Unit * caster)
if (AuraEffect const * aurEff = caster->GetAuraEffect(34241,0))
amount += cp * aurEff->GetAmount();
amount += CalculatePctF(cp, caster->GetTotalAttackPowerValue(BASE_ATTACK));
amount += CalculatePctF(caster->GetTotalAttackPowerValue(BASE_ATTACK), cp);
}
// Rend
else if (GetSpellProto()->SpellFamilyName == SPELLFAMILY_WARRIOR && GetSpellProto()->SpellFamilyFlags[0] & 0x20)