mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01: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