From 32dd31b55a7678fad672ef1d10d1a5630117ba46 Mon Sep 17 00:00:00 2001 From: blinkysc <37940565+blinkysc@users.noreply.github.com> Date: Tue, 21 Apr 2026 21:02:15 -0500 Subject: [PATCH] fix(Core/SmartAI): Keep combat pose on aggro (#25534) Co-authored-by: blinkysc Co-authored-by: ccrs --- src/server/game/AI/SmartScripts/SmartAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index cbb96029f..c80e2a0ac 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -911,7 +911,7 @@ void SmartAI::AttackStart(Unit* who) return; } - if (who && me->Attack(who, me->IsWithinMeleeRange(who))) + if (who && me->Attack(who, mCanAutoAttack)) { if (!me->HasUnitState(UNIT_STATE_NO_COMBAT_MOVEMENT)) {