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:
@@ -911,7 +911,7 @@ void SmartAI::AttackStart(Unit* who)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (who && me->Attack(who, me->IsWithinMeleeRange(who)))
|
if (who && me->Attack(who, mCanAutoAttack))
|
||||||
{
|
{
|
||||||
if (!me->HasUnitState(UNIT_STATE_NO_COMBAT_MOVEMENT))
|
if (!me->HasUnitState(UNIT_STATE_NO_COMBAT_MOVEMENT))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user