diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index c80e2a0ac..8ce3641e8 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -818,6 +818,10 @@ bool SmartAI::AssistPlayerInCombatAgainst(Unit* who) if (!me->IsValidAssistTarget(who->GetVictim())) return false; + // Do not engage if we cannot actually attack the attacker (e.g. neutral faction) + if (!me->IsValidAttackTarget(who)) + return false; + //too far away and no free sight? if (me->IsWithinDistInMap(who, SMART_MAX_AID_DIST) && me->IsWithinLOSInMap(who)) {