What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

item filter Optional Group

vjxy123

New Member
Joined
Oct 6, 2012
Messages
156
Reaction score
0
here is the example list in the guide post
ExplicitStat BaseMaximumLife Value > 20 Optional Group 1 - Checks to see if the item has a stat value of more than 20, but is optional in Group 1 (filter requires at least one match from an optional group).

Is there any possible to do sth like this

ExplicitStat BaseMaximumLife Value > 20 Optional X Group 1 - Checks to see if the item has a stat value of more than 20, but is optional in Group 1 (filter requires at least X match from an optional group).

If I want item filter 4 affix in 6 affix
Stat affix1 value > 20 Optional 4 Group 1
Stat affix2 value > 20 Optional 4 Group 1
Stat affix3 value > 20 Optional 4 Group 1
Stat affix4 value > 20 Optional 4 Group 1
Stat affix5 value > 20 Optional 4 Group 1
Stat affix6 value > 20 Optional 4 Group 1

I know I can do the same thing with the guide filter,but it need 15 optional group,my math is poor,correct me if I am wrong.
 
Yea, it is really sometimes troublesome . . .

To achieve that you have to create further groups, so that you cover all the possible combinations . . .

My way of doing things is to limit myself to a max of 3 high affixes on items, first because finding an item with 4xT2 affixes is almost impossible and second because the code to match 4 out 6 possible affixes would be huge, if i am not mistaken . . .

Here is an example of matching 2 T2 affixes for weapons:

Code:
TotalStat LocalPhysicalDamagePosPct Value >= 110 Optional Group 1
TotalStat LocalMaximumAddedPhysicalDamage Value >= 24 Optional Group 1
TotalStat LocalAttackSpeedPosPct Value >= 20 Optional Group 2
TotalStat LocalPhysicalDamagePosPct Value >= 110 Optional Group 2
TotalStat LocalMaximumAddedPhysicalDamage Value >= 24 Optional Group 3
TotalStat LocalAttackSpeedPosPct Value >= 20 Optional Group 3

Or you set atleast one of the affixes as required:

Code:
TotalStat BaseMaximumLife Value >= 90 Required
TotalStat BaseColdDamageResistancePct Value >= 36 Optional Group 1
TotalStat BaseLightningDamageResistancePct Value >= 36 Optional Group 1
TotalStat BaseFireDamageResistancePct Value >= 36 Optional Group 2
TotalStat BaseColdDamageResistancePct Value >= 36 Optional Group 2
TotalStat BaseLightningDamageResistancePct Value >= 36 Optional Group 3
TotalStat BaseFireDamageResistancePct Value >= 36 Optional Group 3

This one will match 3 T2 affixes.

Maybe pushed has a better suggestion . . .
 
Back
Top