mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-01 03:02:26 +00:00
Moved Assisting Exemption check up
This is just so assisting to a client will clear the flag
This commit is contained in:
parent
a55c095d1b
commit
bb793e5582
@ -1526,6 +1526,12 @@ void Client::Handle_OP_TargetCommand(const EQApplicationPacket *app)
|
|||||||
GetTarget()->IsTargeted(1);
|
GetTarget()->IsTargeted(1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else if(IsAssistExempted())
|
||||||
|
{
|
||||||
|
GetTarget()->IsTargeted(1);
|
||||||
|
SetAssistExemption(false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
else if(GetTarget()->IsClient())
|
else if(GetTarget()->IsClient())
|
||||||
{
|
{
|
||||||
//make sure this client is in our raid/group
|
//make sure this client is in our raid/group
|
||||||
@ -1554,12 +1560,6 @@ void Client::Handle_OP_TargetCommand(const EQApplicationPacket *app)
|
|||||||
SetSenseExemption(false);
|
SetSenseExemption(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if(IsAssistExempted())
|
|
||||||
{
|
|
||||||
GetTarget()->IsTargeted(1);
|
|
||||||
SetAssistExemption(false);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
else if(GetBindSightTarget())
|
else if(GetBindSightTarget())
|
||||||
{
|
{
|
||||||
if(GetBindSightTarget()->DistNoRoot(*GetTarget()) > (zone->newzone_data.maxclip*zone->newzone_data.maxclip))
|
if(GetBindSightTarget()->DistNoRoot(*GetTarget()) > (zone->newzone_data.maxclip*zone->newzone_data.maxclip))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user