Thread: SyncUI help
View Single Post
08-16-17, 10:21 AM   #4
syncrow
A Flamescale Wyrmkin
 
syncrow's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 149
You have to change the isEquip function at line 190 like this:

Lua Code:
  1. local function isEquip(itemID)
  2.     local isEquip = select(9, GetItemInfo(itemID))
  3.     local isRelic = select(7, GetItemInfo(itemID)) == "Artifact Relic" and true or false;
  4.    
  5.     if isRelic or (isEquip ~= "" and isEquip ~= "INVTYPE_BAG") then
  6.         return true
  7.     end
  8.    
  9.     return
  10. end

Note: GetItemInfo returns the subclass string localized. You might change "Artifact Relic" for your client language
__________________

Last edited by syncrow : 08-16-17 at 10:44 AM.
  Reply With Quote