mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Core/SmartAI): Remove REACT_PASSIVE check from CanAIAttack (#25186)
Co-authored-by: blinkysc <[email protected]>
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