mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 09:21:29 +00:00
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:
commit
95ea61114a
@ -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, UseStackablePickPocketing, true) // Allows stackable pickpocketed items to stack instead of only being allowed in empty inventory slots
|
||||||
RULE_BOOL(Character, EnableAvoidanceCap, false)
|
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_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_END()
|
||||||
|
|
||||||
RULE_CATEGORY(Mercs)
|
RULE_CATEGORY(Mercs)
|
||||||
|
|||||||
@ -13093,6 +13093,11 @@ void Client::Handle_OP_TargetCommand(const EQApplicationPacket *app)
|
|||||||
GetTarget()->IsTargeted(1);
|
GetTarget()->IsTargeted(1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else if (RuleB(Character, AllowMQTarget))
|
||||||
|
{
|
||||||
|
GetTarget()->IsTargeted(1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
else if (IsAssistExempted())
|
else if (IsAssistExempted())
|
||||||
{
|
{
|
||||||
GetTarget()->IsTargeted(1);
|
GetTarget()->IsTargeted(1);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user