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:
parent
e54952ca7b
commit
f8c5c9a468
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue