From c74e1567d737817dc4fa25e191bcbcbdaa5ec4c1 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Fri, 6 Feb 2026 18:05:37 -0300 Subject: [PATCH] fix(Core/SmartAI): Ranged Creatures should have relaxed stances while outside melee range (#24623) --- 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 e1f58ad5d..d28029e49 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -859,7 +859,7 @@ void SmartAI::AttackStart(Unit* who) return; } - if (who && me->Attack(who, me->IsWithinMeleeRange(who) || _currentRangeMode)) + if (who && me->Attack(who, me->IsWithinMeleeRange(who))) { if (!me->HasUnitState(UNIT_STATE_NO_COMBAT_MOVEMENT)) {