Add bot and bot pet checks to various spells, auras and targeting checks that were missing.

This commit is contained in:
nytmyr
2025-01-25 07:01:39 -06:00
parent 2df4a4e436
commit abaefc8e7f
12 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -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();