sti
Legend
So, lately i've been trying to find a way to weapon swap to use my different enchants (i.e: power torrent to black magic to 50 base SP). But because the weapons had the same name I couldn't just drag them onto my bar. I also didnt want to create 3 Equipment managers for each set. So, I found out that you can specify enchants for each weapon to switch to. Long story short: copy this:
/run local function id(s) return string.match(GetInventoryItemLink("player",s) or "","(item:.+:%d+)") end ChatFrame1:AddMessage("MH:"..id(16).."\nOH:"..id(17))
item 16 is for MainHand, 17 is OffHand.
Substitute those numbers in for
/equipslot 16 item:37852:3828:0:0:0:0:0:0
/equipslot 17 item:37852:1606:0:0:0:0:0:0
and voila, there is a macro for weapon changes
/run local function id(s) return string.match(GetInventoryItemLink("player",s) or "","(item:.+:%d+)") end ChatFrame1:AddMessage("MH:"..id(16).."\nOH:"..id(17))
item 16 is for MainHand, 17 is OffHand.
Substitute those numbers in for
/equipslot 16 item:37852:3828:0:0:0:0:0:0
/equipslot 17 item:37852:1606:0:0:0:0:0:0
and voila, there is a macro for weapon changes