Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-06-23, 11:59 PM   #1
pasiv
A Murloc Raider
Join Date: Jul 2019
Posts: 7
Question How do I get a spec's weapon skills?

I'm trying to make an addon to help equip gearSets, and it seems to work, except that it will try to equip items that the current spec can't actually equip. For armor, I'm just getting the subclass of the item with GetItemInfo(itemId) and comparing it to a kind of comparison table. I only did it that way because I was trying to get a working prototype, but I don't think that method is viable when it comes to weapon subtypes vs spec.

Does anyone have a solution for me, please? I suppose the underlying question here is, how do I check if an item is actually able to be equipped by the player with the current class and spec?

Last edited by pasiv : 01-07-23 at 02:23 AM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » How do I get a spec's weapon skills?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off