Core/Units: fixed a typo in MeleeDamageBonusTaken

This commit is contained in:
Ovahlord committed 2021-04-07 12:21:11 +02:00
1 parent 6052573c87
commit c927bb7924
1 file changed
+1 -1
+1 -1
View File
@@ -7941,7 +7941,7 @@ uint32 Unit::MeleeDamageBonusTaken(Unit* attacker, uint32 pdamage, WeaponAttackT
float TakenTotalMod = 1.0f;
// ..taken
TakenTotalMod *= GetTotalAuraModifier(SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN, [meleeDamageSchoolMask, spellProto](AuraEffect const* aurEff)
TakenTotalMod *= GetTotalAuraMultiplier(SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN, [meleeDamageSchoolMask, spellProto](AuraEffect const* aurEff)
{
if (spellProto && spellProto->HasAttribute(SPELL_ATTR10_IGNORE_POSITIVE_DAMAGE_TAKEN_MODS) && aurEff->GetAmount() > 0)
return false;