diff --git a/common/ruletypes.h b/common/ruletypes.h index 855afe3e0..94d669386 100644 --- a/common/ruletypes.h +++ b/common/ruletypes.h @@ -144,6 +144,7 @@ RULE_BOOL(Character, RestrictSpellScribing, false) // Restricts spell scribing t RULE_BOOL(Character, UseStackablePickPocketing, true) // Allows stackable pickpocketed items to stack instead of only being allowed in empty inventory slots RULE_BOOL(Character, EnableAvoidanceCap, false) RULE_INT(Character, AvoidanceCap, 750) // 750 Is a pretty good value, seen people dodge all attacks beyond 1,000 Avoidance +RULE_BOOL(Character, AllowMQTarget, false) // Disables putting players in the 'hackers' list for targeting beyond the clip plane or attempting to target something untargetable RULE_CATEGORY_END() RULE_CATEGORY(Mercs) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 37108697c..fa253664b 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -13093,6 +13093,11 @@ void Client::Handle_OP_TargetCommand(const EQApplicationPacket *app) GetTarget()->IsTargeted(1); return; } + else if (RuleB(Character, AllowMQTarget)) + { + GetTarget()->IsTargeted(1); + return; + } else if (IsAssistExempted()) { GetTarget()->IsTargeted(1);