Merge pull request #551 from N0ctrnl/patch-1

Added rule to allow MQ2 targeting without filling up the hackers table
This commit is contained in:
Michael Cook (mackal) 2016-08-28 17:34:19 -04:00 committed by GitHub
commit 95ea61114a
2 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -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);