From d31e58d237584341db7d003e23e948706cf83fe0 Mon Sep 17 00:00:00 2001 From: blinkysc <37940565+blinkysc@users.noreply.github.com> Date: Sun, 22 Mar 2026 12:28:40 -0500 Subject: [PATCH] fix(Core/SmartAI): Remove REACT_PASSIVE check from CanAIAttack (#25186) Co-authored-by: blinkysc --- src/server/game/AI/SmartScripts/SmartAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index 284a6e661..2c165c526 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -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)