<?xml version="1.0" encoding="utf-8" ?>
<ItemRules name="Example for not working lootrules (should loot armor >=61 but loots even lvl58)" useRoundedValues="true">
<!-- The order in which item rules are evaluated. Typically, this is fine for almost all rule sets.
However, you may want to switch things around sometimes if you want to force-sell things that may match keep rules. -->
<Priority priority1="Keep"/>
<Categories>
<Category ruleType="PickUp">
<!-- Pick up all Legendary items -->
<ItemRule>
<StatRules>
<Rule quality="Legendary" />
</StatRules>
</ItemRule>
<ItemRule itemName="Gold" stack="100" />
<ItemRule itembaseType="Armor" twoHanded="false" description="ilvl61 Rare">
<StatRules>
<Rule stat="Level" minValue="61" quality="Rare4" />
</StatRules>
</ItemRule>
<ItemRule itembaseType="Jewelry" twoHanded="false" description="ilvl57 Rare">
<StatRules>
<Rule stat="Level" minValue="57" quality="Rare4" />
</StatRules>
</ItemRule>
<!-- Pick up designs and plans, blacksmithing/jewelcrafting -->
<ItemRule itemName="*Plan:*" stack="1" />
<ItemRule itemName="*Design:*" stack="1" />
<ItemRule itemName="Tome of Secrets" stack="1" />
</Category>
<Category ruleType="Keep">
<!-- Keep legendaries, regardless of stats. -->
<ItemRule ruleType="Keep" description="Legendary items!">
<StatRules>
<Rule quality="Magic1" />
</StatRules>
</ItemRule>
</Category>
</Categories>
</ItemRules>