Skip to content

Struggling with rule for "Cannot be disenchanted" #2119

@alkerzor

Description

@alkerzor

What version number you are using?
v31209 [The War Within]

What game client are you playing? Retail, Burning Crusade, Classic / Live, PTR, Beta
Retail

What language is the game client set to?
English

Ask your question
When you're in the "disenchant selection" mode (i.e. you've clicked "Disenchant", and the cursor icon has the blue outline, but haven't yet clicked an item), an additional line is added to the tooltip: either a red "Cannot be disenchanted" or a light blue "Disenchantable". I'm struggling to make a rule based on this, as it doesn't seem to be caught by the "tooltip()" rule function.

Image

Google's AI generated result suggest a "can()" function that doesn't seem to exist (yaay AI):
(sb() and not can( "disenchant" ))
This is exactly the functionality that I'm looking for. I've perused the RuleFunction wiki page but haven't been able to find any other functions that would suffice.

Building a rule for quality/ilevel/armor-type/etc doesn't capture what I'm after, as in pretty much every categorization you can have non-DE-able items that I want to segregate out.

It's very possible that I'm just missing something obvious, but I believe I've done my due diligence in researching solutions on my own before resorting to asking here. I certainly don't know enough about Bonus IDs or Item Strings to know if it's somehow encoded in there. In any case, I could use someone more experienced to help point out what I've missed, or inform me that the functionality doesn't exist (in which case this becomes a Feature Request).

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions