fix(Core/Spells): Include absorbed damage in PROC_SPELL_TYPE_DAMAGE classification (#25314)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-04-02 03:05:05 -05:00
committed by GitHub
parent e54952ca7b
commit f8c5c9a468

View File

@@ -6771,7 +6771,7 @@ void Unit::ProcSkillsAndAuras(Unit* actor, Unit* victim, uint32 procAttacker, ui
}
else if (healInfo && healInfo->GetHeal())
spellTypeMask = PROC_SPELL_TYPE_HEAL;
else if (damageInfo && damageInfo->GetDamage())
else if (damageInfo && (damageInfo->GetDamage() || damageInfo->GetAbsorb()))
spellTypeMask = PROC_SPELL_TYPE_DAMAGE;
else if (procSpellInfo)
spellTypeMask = PROC_SPELL_TYPE_NO_DMG_HEAL;