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

Help with my custom lootrules

BobbyThunder

New Member
Joined
Jun 12, 2012
Messages
41
Reaction score
0
Not sure if I fucked up somewhere, but my bot still seems to just vendor everything

Code:
<?xml version="1.0" encoding="utf-8" ?>

<ItemRules name="Default Item Rules" useRoundedValues="true">
  <!-- Zoinx Loot/Sell/Keep - Sarkoth Inferno Farming -->
  <Priority priority1="Keep" priority2="Salvage" priority3="Sell" />


  <Categories>
    <Category ruleType="PickUp">
      
      <!-- Pick up all magic+ items -->
      <ItemRule>
        <StatRules>
          <Rule quality="Magic1" />
        </StatRules>
      </ItemRule>


      <!-- Pick up gold, at least in stacks of 100 -->
      <ItemRule itemName="Gold" stack="50" />
      

      <!-- Health potions -->
      <ItemRule itemName="*Health Potion*" stack="1" />
	  
	  <!-- Pick up designs and plans, blacksmithing/jewelcrafting --> 
      <ItemRule itemName="Plan:*" stack="1" /> 
      <ItemRule itemName="Design:*" stack="1" />
	  
    </Category> 


    <Category ruleType="Keep">
	
	  <!-- Keep designs and plans, blacksmithing/jewelcrafting --> 
      <ItemRule itemName="Plan:*" /> 
      <ItemRule itemName="Design:*" />
      
      <ItemRule itemBaseType="Weapon" twoHanded="true" description="High DPS 2h Weapons">
        <StatRules>
          <!-- Magic Weapons should have at least 1200 DPS -->
          <Rule stat="DPS" minValue="1100" quality="Magic1" />
          <!-- Rare weapons should have at least 1100 considering they provide extra stats most of the time. -->
          <Rule stat="DPS" minValue="1000" quality="Rare4" />
        </StatRules>
      </ItemRule>


      <ItemRule itemBaseType="Weapon" twoHanded="false" description="High DPS 1h Weapons">
        <StatRules>
		<!-- Magic Weapons should have at least 900 DPS -->
          <Rule stat="DPS" minValue="900" quality="Magic1" />
		  <!-- Rare weapons should have at least 800 considering they provide extra stats most of the time. -->
          <Rule stat="DPS" minValue="800" quality="Rare4" />
        </StatRules>
      </ItemRule>


	  	<!-- All Armor with min value of 100 Int/Dex.-->
      <ItemRule itemBaseType="Armor" description="Keep Armor">
        <StatRules>
		  <!-- All Armor with min value of 100 Dex.-->
		  <Rule stat="Dexterity" minValue="100" quality="Magic1" />
		  <Rule stat="Dexterity" minValue="100" quality="Rare4" />
		  <!-- All Armor with min value of 100 Int.-->
          <Rule stat="Intelligence" minValue="100" quality="Magic1" />
		  <Rule stat="Intelligence" minValue="100" quality="Rare4" />
		  <!-- All Armor with min value of 20 Gold Find.-->
		  <Rule stat="GoldFind" minValue="20" quality="Magic1" />
		  <Rule stat="GoldFind" minValue="20" quality="Rare4" />
		  <!-- All Armor with min value of 20 Magic Find.-->
		  <Rule stat="MagicFind" minValue="20" quality="Magic1" />
		  <Rule stat="MagicFind" minValue="20" quality="Rare4" />
		  <!-- All Armor with min value of 13% Increased Attack Speed.-->
		  <Rule stat="AttackSpeedPercent" minValue="13" quality="Magic1" />
		  <Rule stat="AttackSpeedPercent" minValue="13" quality="Rare4" />
		  <!--Armor with critdmg% -->
		  <Rule stat="CritDamagePercent" minValue="30" quality="Magic1" />
		  <Rule stat="CritDamagePercent" minValue="30" quality="Rare4" />
		  <!--Armor with crit chance -->
		  <Rule stat="CritPercent" minValue="5" quality="Magic1" />
		  <Rule stat="Critpercent" minValue="5" quality="Rare4" />
		  <!-- Armor with all resist -->
		  <Rule stat="ResistAll" minValue="40" quality="Magic1" />
		  <Rule stat="ResistAll" minValue="40" quality="Rare4" />
        </StatRules>
      </ItemRule>
	  
	  	<!-- All Armor with min value of 100 Int/Dex.-->
      <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
		  <!-- All Armor with min value of 100 Dex.-->
		  <Rule stat="Dexterity" minValue="100" quality="Magic1" />
		  <Rule stat="Dexterity" minValue="100" quality="Rare4" />
		  <!-- All Armor with min value of 100 Int.-->
          <Rule stat="Intelligence" minValue="100" quality="Magic1" />
		  <Rule stat="Intelligence" minValue="100" quality="Rare4" />
		  <!-- All Armor with min value of 20 Gold Find.-->
		  <Rule stat="GoldFind" minValue="20" quality="Magic1" />
		  <Rule stat="GoldFind" minValue="20" quality="Rare4" />
		  <!-- All Armor with min value of 20 Magic Find.-->
		  <Rule stat="MagicFind" minValue="20" quality="Magic1" />
		  <Rule stat="MagicFind" minValue="20" quality="Rare4" />
		  <!-- All Armor with min value of 13% Increased Attack Speed.-->
		  <Rule stat="AttackSpeedPercent" minValue="13" quality="Magic1" />
		  <Rule stat="AttackSpeedPercent" minValue="13" quality="Rare4" />
		   <!--Jewelry with critdmg% -->
		  <Rule stat="CritDamagePercent" minValue="30" quality="Magic1" />
		  <Rule stat="CritDamagePercent" minValue="30" quality="Rare4" />
		  <!--Jewelry with crit chance -->
		  <Rule stat="CritPercent" minValue="5" quality="Magic1" />
		  <Rule stat="Critpercent" minValue="5" quality="Rare4" />
		  <!-- Jewelry with all resist -->
		  <Rule stat="ResistAll" minValue="40" quality="Magic1" />
		  <Rule stat="ResistAll" minValue="40" quality="Rare4" />
        </StatRules>
      </ItemRule>
      
    </Category>
	
    <Category ruleType="Sell"> 
	
	  <!--Sells everything else --> 
      <ItemRule description="Sell Everything"> 
        <StatRules> 
          <Rule quality="Magic1" /> 
        </StatRules> 
      </ItemRule> 
    </Category> 
</Categories>


  <!-- Available Stats:
  
            Intelligence
            Strength
            Vitality
            Dexterity
            Armor - this is the "base" armor of an item.
            ArmorBonus - this is the "bonus" armor on the item. Represented in the tooltip as "+x Armor"
            ArmorTotal - this is the "total" armor for the item.


            // Damage % Increases - These are typically things like 3% Fire Damage - typically found on Wizard/WD items
            FireDamagePercent
            ColdDamagePercent
            LightningDamagePercent
            PoisonDamagePercent
            ArcaneDamagePercent
            HolyDamagePercent


            MinDamage - this is the smaller of the 2 when the tooltip states "+5-10 damage" or similar.
            MaxDamage - the max value of the above
            DPS - weapon DPS. This is the DPS as shown in the tooltip.


            GoldFind
            MagicFind 


            // Increase modifiers
            AttackSpeedPercent


            // Weapon
            WeaponAttacksPerSecond
            WeaponMinDamage
            WeaponMaxDamage


            // Misc
            MovementSpeed - run speed %
            HealthGlobeBonus
            HealthPerSecond
            LifePercent
            Level - item level. DOES NOT MATCH IN-GAME ITEM LEVEL REQUIREMENT!


            // Resists
            ResistAll
            ResistArcane
            ResistCold
            ResistPhysical
            ResistLightning
            ResistFire
            ResistPoison
            ResistHoly


            Thorns


            DamageReductionPhysicalPercent
            
            Sockets
   -->
</ItemRules>
 
I believe if you stick all of those Rule stats in the same StatRules block, it will only match Magic1 items with dex, int, GF, MF, AS, crit dmg, crit, and resist all. Same with Rare4 items.
 
Just break them out into different item rules.

Code:
      <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
		  <!-- All Armor with min value of 100 Dex.-->
		  <Rule stat="Dexterity" minValue="100" quality="Magic1" />
		  <Rule stat="Dexterity" minValue="100" quality="Rare4" />
        </StatRules>
      </ItemRule>

      <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
		  <!-- All Armor with min value of 100 Int.-->
		  <Rule stat="Intelligence" minValue="100" quality="Magic1" />
		  <Rule stat="Intelligence" minValue="100" quality="Rare4" />
        </StatRules>
      </ItemRule>
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<ItemRules name="Default Item Rules" useRoundedValues="true">
  <!-- Zoinx Loot/Sell/Keep - Sarkoth Inferno Farming -->
  <Priority priority1="Keep" priority2="Salvage" priority3="Sell"/>


  <Categories>
    <Category ruleType="PickUp">
      
      <!-- Pick up all magic+ items -->
      <ItemRule>
        <StatRules>
          <Rule quality="Magic1"/>
        </StatRules>
      </ItemRule>


      <!-- Pick up gold, at least in stacks of 100 -->
      <ItemRule itemName="Gold" stack="50"/>
      

      <!-- Health potions -->
      <ItemRule itemName="*Health Potion*" stack="1"/>
	  
	  <!-- Pick up designs and plans, blacksmithing/jewelcrafting --> 
      <ItemRule itemName="Plan:*" stack="1"/> 
      <ItemRule itemName="Design:*" stack="1"/>
	  
    </Category> 


    <Category ruleType="Keep">
	
	  <!-- Keep designs and plans, blacksmithing/jewelcrafting --> 
      <ItemRule itemName="Plan:*"/> 
      <ItemRule itemName="Design:*"/>
      
      <ItemRule itemBaseType="Weapon" twoHanded="true" description="High DPS 2h Weapons">
        <StatRules>
          <!-- Magic Weapons should have at least 1200 DPS -->
          <Rule stat="DPS" minValue="1100" quality="Magic1"/>
          <!-- Rare weapons should have at least 1100 considering they provide extra stats most of the time. -->
          <Rule stat="DPS" minValue="1000" quality="Rare4"/>
        </StatRules>
      </ItemRule>


      <ItemRule itemBaseType="Weapon" twoHanded="false" description="High DPS 1h Weapons">
        <StatRules>
		<!-- Magic Weapons should have at least 900 DPS -->
          <Rule stat="DPS" minValue="900" quality="Magic1"/>
		  <!-- Rare weapons should have at least 800 considering they provide extra stats most of the time. -->
          <Rule stat="DPS" minValue="800" quality="Rare4"/>
        </StatRules>
      </ItemRule>


	  	<!-- All Armor with min value of 100 Dex.-->
      <ItemRule itemBaseType="Armor" description="Keep Armor">
        <StatRules>
		  <Rule stat="Dexterity" minValue="100" quality="Magic1"/>
		  <Rule stat="Dexterity" minValue="100" quality="Rare4"/>'
	</StatRules>
   </Itemrule>
		

		  <!--All armor with a min value 100int. -->
  		  <ItemRule itemBaseType="Armor" description="Keep Armor">
         <StatRules>
		  <Rule stat="Intelligence" minValue="100" quality="Magic1"/>
		  <Rule stat="Intelligence" minValue="100" quality="Rare4"/>
	</StatRules>
   </Itemrule>
		  

		  <!-- All Armor with min value of 20 Gold Find.-->
		  <ItemRule itemBaseType="Armor" description="Keep Armor">		  
	<StatRules>		  
		  <Rule stat="GoldFind" minValue="20" quality="Magic1"/>
		  <Rule stat="GoldFind" minValue="20" quality="Rare4"/>
	</StatRules>
   </Itemrule>	  

		  <!-- All Armor with min value of 20 Magic Find.-->
		  <ItemRule itemBaseType="Armor" description="Keep Armor">		  
	<StatRules>  		  
		  <Rule stat="MagicFind" minValue="20" quality="Magic1"/>
		  <Rule stat="MagicFind" minValue="20" quality="Rare4"/>
	</StatRules>
   </Itemrule>  

		  <!-- All Armor with min value of 13% Increased Attack Speed.-->
		  <ItemRule itemBaseType="Armor" description="Keep Armor">
	<StatRules>
		  <Rule stat="AttackSpeedPercent" minValue="13" quality="Magic1"/>
		  <Rule stat="AttackSpeedPercent" minValue="13" quality="Rare4"/>
	</StatRules>
   </Itemrule>	  

		  <!--Armor with critdmg% -->
		  <ItemRule itemBaseType="Armor" description="Keep Armor">
	<StatRules>
		  <Rule stat="CritDamagePercent" minValue="30" quality="Magic1"/>
		  <Rule stat="CritDamagePercent" minValue="30" quality="Rare4"/>
	</StatRules>
   </Itemrule>		  

		  <!--Armor with crit chance -->
		  <ItemRule itemBaseType="Armor" description="Keep Armor">		
	<StatRules>
		  <Rule stat="CritPercent" minValue="5" quality="Magic1"/>
		  <Rule stat="Critpercent" minValue="5" quality="Rare4"/>
	</StatRules>
   </Itemrule>		  

		  <!-- Armor with all resist -->
		  <ItemRule itemBaseType="Armor" description="Keep Armor">
	<StatRules>
		  <Rule stat="ResistAll" minValue="40" quality="Magic1"/>
		  <Rule stat="ResistAll" minValue="40" quality="Rare4"/>
        </StatRules>
      </ItemRule>
	  
      
		  <!-- All Jewelry with min value of 100 Dex.-->
		  <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
		  <Rule stat="Dexterity" minValue="100" quality="Magic1"/>
		  <Rule stat="Dexterity" minValue="100" quality="Rare4"/>
	</StatRules>
      </ItemRule>

		  <!-- All Jewelry with min value of 100 Int.-->
		  <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
          	  <Rule stat="Intelligence" minValue="100" quality="Magic1"/>
		  <Rule stat="Intelligence" minValue="100" quality="Rare4"/>
	</StatRules>
      </ItemRule>		  

		  <!-- All Jewelry with min value of 20 Gold Find.-->
		  <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
		  <Rule stat="GoldFind" minValue="20" quality="Magic1"/>
		  <Rule stat="GoldFind" minValue="20" quality="Rare4"/>
	</StatRules>
      </ItemRule>		  

		  <!-- All Jewelry with min value of 20 Magic Find.-->
		  <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
		  <Rule stat="MagicFind" minValue="20" quality="Magic1"/>
		  <Rule stat="MagicFind" minValue="20" quality="Rare4"/>
	</StatRules>
      </ItemRule>		  

		  <!-- All Jewelry with min value of 13% Increased Attack Speed.-->
		  <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
		  <Rule stat="AttackSpeedPercent" minValue="13" quality="Magic1"/>
		  <Rule stat="AttackSpeedPercent" minValue="13" quality="Rare4"/>
	</StatRules>
      </ItemRule>		  

		   <!--Jewelry with critdmg% -->
		  <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
		  <Rule stat="CritDamagePercent" minValue="30" quality="Magic1"/>
		  <Rule stat="CritDamagePercent" minValue="30" quality="Rare4"/>
	</StatRules>
      </ItemRule>		  

		  <!--Jewelry with crit chance -->
		  <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
		  <Rule stat="CritPercent" minValue="5" quality="Magic1"/>
		  <Rule stat="Critpercent" minValue="5" quality="Rare4"/>
	</StatRules>
      </ItemRule>		  

		  <!-- Jewelry with all resist -->
		  <ItemRule itemBaseType="Jewelry" description="Keep Armor">
        <StatRules>
		  <Rule stat="ResistAll" minValue="40" quality="Magic1"/>
		  <Rule stat="ResistAll" minValue="40" quality="Rare4"/>
        </StatRules>
      </ItemRule>
      
    </Category>
	
    <Category ruleType="Sell"> 
	
	  <!--Sells everything else --> 
      <ItemRule description="Sell Everything"> 
        <StatRules> 
          <Rule quality="Magic1"/> 
        </StatRules> 
      </ItemRule> 
    </Category> 
</Categories>


  <!-- Available Stats:
  
            Intelligence
            Strength
            Vitality
            Dexterity
            Armor - this is the "base" armor of an item.
            ArmorBonus - this is the "bonus" armor on the item. Represented in the tooltip as "+x Armor"
            ArmorTotal - this is the "total" armor for the item.


            // Damage % Increases - These are typically things like 3% Fire Damage - typically found on Wizard/WD items
            FireDamagePercent
            ColdDamagePercent
            LightningDamagePercent
            PoisonDamagePercent
            ArcaneDamagePercent
            HolyDamagePercent


            MinDamage - this is the smaller of the 2 when the tooltip states "+5-10 damage" or similar.
            MaxDamage - the max value of the above
            DPS - weapon DPS. This is the DPS as shown in the tooltip.


            GoldFind
            MagicFind 


            // Increase modifiers
            AttackSpeedPercent


            // Weapon
            WeaponAttacksPerSecond
            WeaponMinDamage
            WeaponMaxDamage


            // Misc
            MovementSpeed - run speed %
            HealthGlobeBonus
            HealthPerSecond
            LifePercent
            Level - item level. DOES NOT MATCH IN-GAME ITEM LEVEL REQUIREMENT!


            // Resists
            ResistAll
            ResistArcane
            ResistCold
            ResistPhysical
            ResistLightning
            ResistFire
            ResistPoison
            ResistHoly


            Thorns


            DamageReductionPhysicalPercent
            
            Sockets
   -->
</ItemRules>



Like that?

Edit: This edit won't even load into DB, must've fucked up worse somewhere :\
Edit2: Missed some capitalization. DB accepts the lootrules, testing now to see if working... so far bot hasn't saved everything. wish it would log the stats of items it sold so i could see if it wasn't working. sigh.
 
Last edited:
Just watched it for awhile, checked its inventory, noticed a few 100+ dex and a few 100+ int items, it still sold everything
 
It's because you're using the rules like they are OR's, the stat rules are AND's, if you want those stats on an item, you need a separate ItemRule for each stat. The example lootrules for those weapons were wrong and will never work.
 
It's because you're using the rules like they are OR's, the stat rules are AND's, if you want those stats on an item, you need a separate ItemRule for each stat. The example lootrules for those weapons were wrong and will never work.
Are you sure that the "Rules" WITHIN the "Stat Rule" are linked to each other with an "AND"?

Bcse, we tested it very heavily here ( http://www.thebuddyforum.com/demonb...item-rules-quickstart-guide-2.html#post556666 ) and are pretty sure that they are not linked, each "Rule" is at its own there ("OR")

Meaning you can not combine stats as rules, just single stats ...


Are you using .100? Or one of the test versions (Fixed in test)?
 
I'm using v118. Apoc told me how that stuff works in IRC. He said as much as I said, that they are AND's and not OR's, and that even his examples are bogus. However, I have been having issues with getting lootrules to work as well, such as #4101954 - Pastie isn't catching http://puu.sh/BwnG
 
Hum . . .

Interesting, this would explain lots of things bout the bot missing items on my runs.

Gonna do some testing. Not sure why its missing that item in your setup, care to post your whole rules?
 
Well, if they really are ANDs, then you'll need to break them down as such.

Code:
   <ItemRule itemBaseType="Armor" description="Keep Armor">
        <StatRules>
		  <Rule stat="Dexterity" minValue="100" quality="Rare4"/>
	</StatRules>
   </Itemrule>
   <ItemRule itemBaseType="Armor" description="Keep Armor">
        <StatRules>
		  <Rule stat="Dexterity" minValue="100" quality="Magic1"/>
	</StatRules>
   </Itemrule>

Also one of your lines has an extra '
Code:
<Rule stat="Dexterity" minValue="100" quality="Rare4"/>'
 
TY very much guys for this topic! Now I now why I have no gear in my stash.
Just tested version Demonbuddy 1.0.527.118. From my rules:

Code:
     <ItemRule itemBaseType="Armor" description="Cool Armor">
        <StatRules>
          <Rule stat="Intelligence" minValue="100" quality="Magic3" />
          <Rule stat="Strength" minValue="100" quality="Magic3" />
          <Rule stat="Dexterity" minValue="100" quality="Magic3" />
          <Rule stat="Vitality" minValue="100" quality="Magic3" />
          ...[and more filters]
        </StatRules>
      </ItemRule>
I've tested a magic3 shoulder {str +113, int +45, vit +25} and bot just sold it. Nice. No idea how much good rares have I lost already.
 
Now I created a separated rules
Code:
      <ItemRule itemBaseType="Armor" description="Cool Armor">
        <StatRules>
          <Rule stat="Strength" minValue="100" quality="Magic3" />
        </StatRules>
      </ItemRule>
      
      <ItemRule itemBaseType="Armor" description="Cool Armor">
        <StatRules>
          <Rule stat="Dexterity" minValue="100" quality="Magic3" />
        </StatRules>
      </ItemRule>

But bot don't want to keep my magic3 shoulder with stength +113.
 
Well, if they really are ANDs, then you'll need to break them down as such.

Code:
   <ItemRule itemBaseType="Armor" description="Keep Armor">
        <StatRules>
		  <Rule stat="Dexterity" minValue="100" quality="Rare4"/>
	</StatRules>
   </Itemrule>
   <ItemRule itemBaseType="Armor" description="Keep Armor">
        <StatRules>
		  <Rule stat="Dexterity" minValue="100" quality="Magic1"/>
	</StatRules>
   </Itemrule>

Also one of your lines has an extra '
Code:
<Rule stat="Dexterity" minValue="100" quality="Rare4"/>'



I tried that last night, still wasn't working at all, vendored several 100dex gloves.
 
Somewhy DB stashed magic1 shield with a socket. This socket is the only stat on sthis shield. I have no rules for stashing magic1 armor or stashing anything with sockets oO
 
Now I created a separated rules
Code:
      <ItemRule itemBaseType="Armor" description="Cool Armor">
        <StatRules>
          <Rule stat="Strength" minValue="100" quality="Magic3" />
        </StatRules>
      </ItemRule>
      
      <ItemRule itemBaseType="Armor" description="Cool Armor">
        <StatRules>
          <Rule stat="Dexterity" minValue="100" quality="Magic3" />
        </StatRules>
      </ItemRule>

But bot don't want to keep my magic3 shoulder with stength +113.

How do you know that this shoulder is a Magic3 and not a Magic2 or 1 item?
 
TY very much guys for this topic! Now I now why I have no gear in my stash.
Just tested version Demonbuddy 1.0.527.118. From my rules:

Code:
     <ItemRule itemBaseType="Armor" description="Cool Armor">
        <StatRules>
          <Rule stat="Intelligence" minValue="100" quality="Magic3" />
          <Rule stat="Strength" minValue="100" quality="Magic3" />
          <Rule stat="Dexterity" minValue="100" quality="Magic3" />
          <Rule stat="Vitality" minValue="100" quality="Magic3" />
          ...[and more filters]
        </StatRules>
      </ItemRule>
I've tested a magic3 shoulder {str +113, int +45, vit +25} and bot just sold it. Nice. No idea how much good rares have I lost already.

If it really were a Magic3 item, sure it sold it, the vit AND int is below 100
 
Jep, must be:

<Rule stat="Strength" minValue="100" quality="Magic3" />
<Rule stat="Intelligence" minValue="40" quality="Magic3" />
<Rule stat="Vitality" minValue="20" quality="Magic3" />

Anyone checked if this works now as intended? And which version of the bot. In .95 it doesnt work. .100+ i cant test. They crashes one by one, its annoying.
 
Check: http://www.thebuddyforum.com/demonb...ides/54086-item-rules-quickstart-guide-3.html

I would like to understand why do you filter item from Magic3 onwards.

If an item, has STR>100, INT>40 and VIT>20

i would not care if its Magic1,2, or 3

I am interested in the stats, not on its internal tier identifier.

Meaning, in my opinion would be the best to have:

<Rule stat="Strength" minValue="100" quality="Magic1" />
<Rule stat="Intelligence" minValue="40" quality="Magic1" />
<Rule stat="Vitality" minValue="20" quality="Magic1" />

Which would catch any item with such stats or better, from blue till legendary. If you set to Magic3, you might miss some blues, Magic1 or 2 that has such stats combinations . . .
 
Back
Top