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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)