mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 04:08:27 +00:00
Add bot and bot pet checks to various spells, auras and targeting checks that were missing.
This commit is contained in:
+1
-1
@@ -555,7 +555,7 @@ void NPC::SetTarget(Mob* mob) {
|
||||
|
||||
// either normal pet and owner is client or charmed pet and owner is client
|
||||
Mob *owner = nullptr;
|
||||
if (IsPet() && IsPetOwnerClient()) {
|
||||
if (IsPet() && IsPetOwnerOfClientBot()) {
|
||||
owner = GetOwner();
|
||||
} else if (IsCharmed()) {
|
||||
owner = GetOwner();
|
||||
|
||||
Reference in New Issue
Block a user