Core/Spells: only apply aura effects when needed.

Port From (https://github.com/TrinityCore/TrinityCore/commit/5491b7f89ff466b4f78e99801d135b2e736a7635)
This commit is contained in:
hondacrx
2021-09-09 13:39:25 -04:00
parent b9c8c54b28
commit ab3bf08b60
+2 -1
View File
@@ -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);
}
}