fix(Core/SmartAI): Keep combat pose on aggro (#25534)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: ccrs <ccrs@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-04-21 21:02:15 -05:00
committed by GitHub
parent 523585942a
commit 32dd31b55a

View File

@@ -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))
{