Hello all, this is the first version of ItemRules GUI for Demonbuddy.
Currently, it allows for fast creation of items with StatRules used inside an ItemRules.xml.
*Maybe in the future, it will read in an xml rule set and allow for editing inside the application.
Enjoy.
*edit added attachments
*edit 2
--Version 1.1 is out.
* fixed syntax errors
* added remove stat button
* added max value for rule option
* added an icon
Currently, it allows for fast creation of items with StatRules used inside an ItemRules.xml.
*Maybe in the future, it will read in an xml rule set and allow for editing inside the application.

INSTRUCTIONS...
Ok I want to make an Item Rule for Keep, any armor piece that has int > 100, vit > 50, and mf > 15.
Step 1. Click "New ItemRule" to reset the form / make a new ItemRule
Step 2. Check "By Type" and in the drop down box select Armor
Step 3. Optional... Describe the ItemRule you are making "Rare with int/vit/mf"
Step 4. Add stat rules to that item by clicking "New StatRule"
Step 5. Select "Rare4" and Choose Intelligence from the Stat drop down box and type 100 for minValue.
Repeat steps 4-5 changing Intelligence for Vit/MF and minValue to 50/15.
Step 6. After all StatRules are made, click "Generate XML" and then "Copy to Clipboard"
You should have a block of text like this
Code:<ItemRule itembaseType="Armor" twoHanded="false" description="Rare with int/vit/mf" <StatRules> <Rule stat="Intelligence" minValue="100" quality="Rare4" /> <Rule stat="Vitality" minValue="50" quality="Rare4" /> <Rule stat="MagicFind" minValue="15" quality="Rare4" /> </StatRules> </ItemRules>
Now if you want to keep this item, find the area inside your .xml rule set that looks like this
and paste the new xml code after that line.Code:<Category ruleType="Keep">
Enjoy.
*edit added attachments
*edit 2
--Version 1.1 is out.
* fixed syntax errors
* added remove stat button
* added max value for rule option
* added an icon
Attachments
Last edited: