From c5e7b186371f4fabfcce1290c235dc3dc55b2c09 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Sat, 1 Apr 2017 17:50:27 -0400 Subject: [PATCH] Exclude client pets from MQ2 target detection Probably could use some PVP rules but what do I know :P --- zone/client_packet.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 0e7ae4239..c253cc912 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -13252,6 +13252,11 @@ void Client::Handle_OP_TargetCommand(const EQApplicationPacket *app) GetTarget()->IsTargeted(1); return; } + else if (GetTaget()->IsPetOwnerClient()) + { + GetTarget()->IsTargeted(1); + return; + } else if (GetBindSightTarget()) { if (DistanceSquared(GetBindSightTarget()->GetPosition(), GetTarget()->GetPosition()) > (zone->newzone_data.maxclip*zone->newzone_data.maxclip))