View Single Post
11/10/18, 09:01 AM   #5
AssemblerManiac
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 51
Lightbulb Trait knowledge

Originally Posted by Lakashi View Post
No, I meant in an addon, in the code.
You can download AI Research Grid and see how the code in there works. There is no single function that can tell you if all the traits are known for a given item (sword, shield, legs, etc.).

Look for PopulateTraitDataForCraft in AIResearchGrid.lua. It has all the function calls necessary to determine if a trait is know for an item, as well as how much time might be left on research for a trait.
  Reply With Quote