mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-21 06:28:22 +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 != attacker
|
||||||
&& mob->GetPrimaryFaction() != 0
|
&& mob->GetPrimaryFaction() != 0
|
||||||
&& !mob->IsEngaged()
|
&& !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