Spells/Auras: Dont save SPELL_AURA_BATTLEGROUND_PLAYER_POSITION auras

Port From (https://github.com/TrinityCore/TrinityCore/commit/2380fc32dd5383b2e385a12e7e76ea0116dc9035)
This commit is contained in:
hondacrx
2021-03-04 14:14:45 -05:00
parent b04f34a1e1
commit f05dc39449
+4
View File
@@ -977,6 +977,10 @@ namespace Game.Spells
if (HasEffectType(AuraType.ModCharm) || HasEffectType(AuraType.AoeCharm))
return false;
// no battleground player positions
if (HasEffectType(AuraType.BattleGroundPlayerPosition) || HasEffectType(AuraType.BattleGroundPlayerPositionFactional))
return false;
// Incanter's Absorbtion - considering the minimal duration and problems with aura stacking
// we skip saving this aura
// Also for some reason other auras put as MultiSlot crash core on keeping them after restart,