View Single Post
05-09-14, 05:40 PM   #11
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
/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 View Post
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
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote