Fixed compile warning
This commit is contained in:
@@ -635,7 +635,7 @@ int32 AuraEffect::CalculateAmount(Unit * caster)
|
|||||||
if (AuraEffect const * aurEff = caster->GetAuraEffect(34241,0))
|
if (AuraEffect const * aurEff = caster->GetAuraEffect(34241,0))
|
||||||
amount += cp * aurEff->GetAmount();
|
amount += cp * aurEff->GetAmount();
|
||||||
|
|
||||||
amount += CalculatePctF(caster->GetTotalAttackPowerValue(BASE_ATTACK), cp);
|
amount += uint32(CalculatePctU(caster->GetTotalAttackPowerValue(BASE_ATTACK), cp));
|
||||||
}
|
}
|
||||||
// Rend
|
// Rend
|
||||||
else if (GetSpellProto()->SpellFamilyName == SPELLFAMILY_WARRIOR && GetSpellProto()->SpellFamilyFlags[0] & 0x20)
|
else if (GetSpellProto()->SpellFamilyName == SPELLFAMILY_WARRIOR && GetSpellProto()->SpellFamilyFlags[0] & 0x20)
|
||||||
|
|||||||
Reference in New Issue
Block a user