fix(Core/SmartAI): Remove REACT_PASSIVE check from CanAIAttack (#25186)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-03-22 12:28:40 -05:00
committed by GitHub
parent 2c4b7c3cd4
commit d31e58d237

View File

@@ -755,7 +755,7 @@ void SmartAI::MoveInLineOfSight(Unit* who)
bool SmartAI::CanAIAttack(Unit const* /*who*/) const
{
return !(me->GetReactState() == REACT_PASSIVE);
return true;
}
bool SmartAI::AssistPlayerInCombatAgainst(Unit* who)