I want to add the ability to change loot specs OnClick of a button but the API function does not work. Does it work for anyone else? If not, is there another way to do this?
SetLootSpecialization(specID), where specID= [0 - GetNumSpecializations()]
EDIT: Fixed it! Found out it was the global spec ID (GUID) , not the players individual spec ID!
I was getting mixed up between "id" and "specID"...........
http://wowprogramming.com/docs/api/G...ializationInfo -- requires regular id (different to specID)
http://wowprogramming.com/docs/api/G...Specialization -- returns specID
TLDR: I'm an idiot