From f05dc394494969a1f909e561e22e43f6474f1f29 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 4 Mar 2021 14:14:45 -0500 Subject: [PATCH] Spells/Auras: Dont save SPELL_AURA_BATTLEGROUND_PLAYER_POSITION auras Port From (https://github.com/TrinityCore/TrinityCore/commit/2380fc32dd5383b2e385a12e7e76ea0116dc9035) --- Source/Game/Spells/Auras/Aura.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Game/Spells/Auras/Aura.cs b/Source/Game/Spells/Auras/Aura.cs index a15a42820..f75fc366b 100644 --- a/Source/Game/Spells/Auras/Aura.cs +++ b/Source/Game/Spells/Auras/Aura.cs @@ -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,