aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGolrag <golrag.jeremy@gmail.com>2023-08-15 19:44:00 +0200
committerModoX <moardox@gmail.com>2023-08-24 16:15:32 +0200
commit0367e1afc51916cb38c9ceecf1935fad0ea2d26a (patch)
treefabc34dd489056b4f09c587827c03761e21d6f7e /src
parent1336370b4583400abb93d6e306814b05f3c7553b (diff)
Core/GameObject: Dropped flag should only spawn when debuff is not removed by default
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/Auras/SpellAuraEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
index b4908618ce7..d106a183701 100644
--- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp
+++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
@@ -6201,7 +6201,7 @@ void AuraEffect::HandleBattlegroundPlayerPosition(AuraApplication const* aurApp,
if (!target)
return;
- if (!apply)
+ if (!apply && aurApp->GetRemoveMode() != AURA_REMOVE_BY_DEFAULT)
{
if (GameObject* gameObjectCaster = target->GetMap()->GetGameObject(GetCasterGUID()))
{