View Single Post
01/28/24, 04:14 PM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,000
Originally Posted by robert.labrie View Post
1 - were styles ever learned by researching items which had that style? I joined in 2021 so I don't know
2 - is that block of code really to filter items to decon? Like to prevent you from using Yokudan Lightning Staff to learn that trait?
re 1. No, you learn styles by style pages or books. Reasearching only learns the "trait" of the researched itemType (e.g. divine 1hd sword)
re 2. It was checking for the itemt o be "unequal" (means: not) a ring and neck (means: Jewelry). And the 2nd part with
self.settings.stylesEnabled == AUTORESEARCH_ENABLE_SELECTED
I do not know what exactly AUTORESEARCH_ENABLE_SELECTED means but it just checks if this was set, and then it would go on, else it would not consider this item.
  Reply With Quote