From 56985dac51c25056ef7d3365848389018779a088 Mon Sep 17 00:00:00 2001 From: blinkysc <37940565+blinkysc@users.noreply.github.com> Date: Wed, 11 Mar 2026 19:34:01 -0500 Subject: [PATCH] fix(Core/Spells): Fix Retaliation self-proc on activation (#25062) Co-authored-by: blinkysc --- src/server/scripts/Spells/spell_warrior.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index e863c2e3c..e056632b2 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -884,6 +884,10 @@ class spell_warr_retaliation : public AuraScript bool CheckProc(ProcEventInfo& eventInfo) { + // Prevent counterattacking yourself on activation + if (eventInfo.GetActor() == eventInfo.GetActionTarget()) + return false; + // check attack comes not from behind and warrior is not stunned return eventInfo.GetActionTarget()->isInFront(eventInfo.GetActor(), float(M_PI)) && !GetTarget()->HasUnitState(UNIT_STATE_STUNNED); }