Core/Units: Fixed offhand melee damage

Closes #30809
This commit is contained in:
Shauren
2025-04-01 18:53:41 +02:00
parent dd988965ff
commit 3d045edd52

View File

@@ -9560,7 +9560,7 @@ void Unit::UpdateDamagePctDoneMods(WeaponAttackType attackType)
});
if (attackType == OFF_ATTACK)
factor *= GetTotalAuraModifier(SPELL_AURA_MOD_OFFHAND_DAMAGE_PCT, [this, attackType](AuraEffect const* aurEff)
factor *= GetTotalAuraMultiplier(SPELL_AURA_MOD_OFFHAND_DAMAGE_PCT, [this, attackType](AuraEffect const* aurEff)
{
return CheckAttackFitToAuraRequirement(attackType, aurEff);
});