mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Exclude client pets from MQ2 target detection
Probably could use some PVP rules but what do I know :P
This commit is contained in:
parent
3098b11080
commit
53978f0ef9
@ -13255,6 +13255,11 @@ void Client::Handle_OP_TargetCommand(const EQApplicationPacket *app)
|
|||||||
GetTarget()->IsTargeted(1);
|
GetTarget()->IsTargeted(1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else if (GetTaget()->IsPetOwnerClient())
|
||||||
|
{
|
||||||
|
GetTarget()->IsTargeted(1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
else if (GetBindSightTarget())
|
else if (GetBindSightTarget())
|
||||||
{
|
{
|
||||||
if (DistanceSquared(GetBindSightTarget()->GetPosition(), GetTarget()->GetPosition()) > (zone->newzone_data.maxclip*zone->newzone_data.maxclip))
|
if (DistanceSquared(GetBindSightTarget()->GetPosition(), GetTarget()->GetPosition()) > (zone->newzone_data.maxclip*zone->newzone_data.maxclip))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user