/run if bit.band(GetItemFamily(74248), 0x0040) > 0 then print("1") else print("0") end
Where 74248 is the item id of a Sha Crystal works on a non-enchanter with no crystals.
Originally Posted by Mazzop
but that wont determine if given item is a enchanting material or not
wanted it works for all, but well, i 'hardcode' it with sha crystal ID somehow without use of GetItemFamily
|