Core/Spells: only apply aura effects when needed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5491b7f89ff466b4f78e99801d135b2e736a7635)
This commit is contained in:
@@ -7977,7 +7977,8 @@ namespace Game.Spells
|
||||
if ((effMask & (1 << (int)i)) != 0 && aurApp.HasEffect(i))
|
||||
effMask &= ~(1u << (int)i);
|
||||
|
||||
_spellHitTarget._ApplyAura(aurApp, effMask);
|
||||
if (effMask != 0)
|
||||
_spellHitTarget._ApplyAura(aurApp, effMask);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user