fix(Core/SmartAI): Remove REACT_PASSIVE check from CanAIAttack (#25186)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user