mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-19 22:39:39 -04:00
Core/Spells: Fixed Rip damage.
Signed-off-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user