Core/Spells: only apply aura effects when needed. Fixes #21602
(cherry picked from commit abb602f7c12b00480899d245ad81abdf41f39621)
This commit is contained in:
@@ -2656,7 +2656,8 @@ void Spell::TargetInfo::DoDamageAndTriggers(Spell* spell)
|
||||
if ((effMask & (1 << i)) && aurApp->HasEffect(i))
|
||||
effMask &= ~(1 << i);
|
||||
|
||||
_spellHitTarget->_ApplyAura(aurApp, effMask);
|
||||
if (effMask)
|
||||
_spellHitTarget->_ApplyAura(aurApp, effMask);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user