Add bot pet check for AIYellForHelp

This commit is contained in:
nytmyr
2025-01-24 20:26:48 -06:00
parent fbaa09569e
commit 41f362ce61
+1 -1
View File
@@ -3666,7 +3666,7 @@ void NPC::AIYellForHelp(Mob *sender, Mob *attacker)
&& mob != attacker
&& mob->GetPrimaryFaction() != 0
&& !mob->IsEngaged()
&& ((!mob->IsPet()) || (mob->IsPet() && mob->GetOwner() && !mob->GetOwner()->IsClient()))
&& ((!mob->IsPet()) || (mob->IsPet() && mob->GetOwner() && !mob->GetOwner()->IsOfClientBot()))
) {
/**