mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 10:50:24 +00:00
Add bot pet check for AIYellForHelp
This commit is contained in:
+1
-1
@@ -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()))
|
||||
) {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user