aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Shadowlands
diff options
context:
space:
mode:
authorMeji <alvaro.megias@outlook.com>2025-09-22 21:56:04 +0200
committerGitHub <noreply@github.com>2025-09-22 21:56:04 +0200
commit1085b3f43321e58f151c1543a70b3558c26ed8e5 (patch)
tree621f525f17904bd95a0018eca9310c0c63aaf897 /src/server/scripts/Shadowlands
parentdf02bec2a1871267548494bc473711a0f9de9b43 (diff)
Core/AreaTriggers: Implement AreaTriggerActionSetFlag::DontRunOnLeaveWhenExpiring (#31276)
Diffstat (limited to 'src/server/scripts/Shadowlands')
-rw-r--r--src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp b/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
index 8ec595ede47..4e0236a8963 100644
--- a/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
+++ b/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
@@ -2449,7 +2449,7 @@ struct at_anduin_wrynn_befouled_barrier : AreaTriggerAI
caster->CastSpell(unit, SPELL_BEFOULED_BARRIER_DEBUFF, true);
}
- void OnUnitExit(Unit* unit) override
+ void OnUnitExit(Unit* unit, AreaTriggerExitReason /*reason*/) override
{
unit->RemoveAura(SPELL_BEFOULED_BARRIER_DEBUFF);
}
@@ -3555,7 +3555,7 @@ struct at_anduin_wrynn_hopelessness : AreaTriggerAI
}
}
- void OnUnitExit(Unit* unit) override
+ void OnUnitExit(Unit* unit, AreaTriggerExitReason /*reason*/) override
{
if (!unit->IsAlive() && unit->HasAura(at->GetSpellId()))
unit->RemoveAurasDueToSpell(at->GetSpellId());