yes, autodiscarding legendaries by name is possible, I think even auto-ignoring 2 handers is.
you need to go into plugins dirs / guiles trinity / item rules / rules / custom / and edit the legendary and/or pickup.xml files. you'll figure it out fast, it doesnt take much more than a little logic to discover the logic behind the code. then you will ofc need to set your DB client to work with 'file based rules' and then point it to the custom folder where the rules are stored.
for example what you asked will look like this:
[QUALITY] == "Legendary" && [NAME] == "Ivory Tower" -> [TRASH]
and this for the 2 handers (im not sure if it works for legendaries as well)
[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" && [TWOHAND] == true -> [IGNORE]
hope this helps![]()
sweet...i was always confused about the structure of that folder cause there are soft, hard and custom. I didn't know what to edit. Anyway thanks wlaci, I'll give it a try.
I'm not yet sure how it works but it might.Won't that ignore Skorns??...
I'm not yet sure how it works but it might.![]()
sure, it will ignore Skorns.
Skorn being the only interesting two-hander for now, you can insert that line i quoted you about the two-handers right after the section in the same legendary.xml file where the Skorn rules are described, just scroll down. alternatively you can put the Skorn rules at the top of the file, its up to you really.
what you need to bear in mind when setting up your rules is that the bot follows a top to bottom logic, this means the bot will start checking rules from the first line of the file and go down until it finds a matching rule, so if it finds a matching rule for the Skorns before it finds a rule for two-handers in general, it will go with the Skorn rule and skip everything else onwards below.
you should be good from here![]()