Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Junk Unusable by class #75

Open
xenoterracide opened this issue Jul 12, 2024 · 3 comments
Open

Auto Junk Unusable by class #75

xenoterracide opened this issue Jul 12, 2024 · 3 comments

Comments

@xenoterracide
Copy link

xenoterracide commented Jul 12, 2024

So it'd be nice to have a filter to automatically sell things that aren't usable by your class. For example a mage can't use "mail armor" but a mage can use a dagger if you get them trained. On the latter it might be cool if you were able to add a check for the training being present.

I believe Dejunk supports this.

@fubaWoW
Copy link

fubaWoW commented Jul 19, 2024

You can easy make rules for that!

This Rule will Sell all "Item-Tokens" that are not for your Class:

(not IsEquipment) and (Level < 300) and IsSoulbound and (SubType == "Junk")  and TooltipContains("Classes:") and (not TooltipContains(PlayerClass()))

maybe need to be adjusted on non English clients and maybe also ItemLevel!

This simple Rule will sell equip that is not for your Class but keeps all Legendaries:

IsEquipment and IsSoulbound and (not IsEquippable) and (Quality < 5)

@xenoterracide
Copy link
Author

does TooltipContains work on content added to the tooltip by other addons?

@fubaWoW
Copy link

fubaWoW commented Jul 20, 2024

does TooltipContains work on content added to the tooltip by other addons?

I don't think so, because there is not "the only way" to modify and also not "the only way" to read a ToolTip.
It may work for AddOn X but not for AddOn Y.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants