mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Spells: only apply aura effects when needed. Fixes #21602
(cherry picked from commit abb602f7c1)
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