Quantcast WoWInterface - View Single Post - SyncUI help
Thread: SyncUI help
View Single Post
08-16-17, 10:54 PM   #11
cbdgv
A Murloc Raider
 
cbdgv's Avatar
Join Date: Jan 2008
Posts: 8
Originally Posted by lightspark View Post
You can also use 12th and 13th returns of GetItemInfo to check for artefact relics, this way you don't need to care about client locale.

Lua Code:
  1. local function isEquip(itemID)
  2.     local equipLoc, _, _, classID, subClassID = select(9, GetItemInfo(itemID))
  3.  
  4.     if (classID == 3 and subClassID == 11) or (equipLoc ~= "" and equipLoc ~= "INVTYPE_BAG") then
  5.         return true
  6.     end
  7.  
  8.     return
  9. end
thank you
Syncrow has helped me solve the problem
Your method is better

Can you help again?
And Add ItemSets custom

Last edited by cbdgv : 08-16-17 at 10:57 PM.
  Reply With Quote