Closed Tarkumi closed 1 year ago
Is there a problem this is a solution for?
Yes, sorry.
When I try to change professions (I have Engineering and Enchanting as primary), switching to Enchanting and to Cooking with the buttons works, but when I click on Engineering I get the following error:
I believe this is a Blizzard bug. It occasionally fails but I have a workaround that works for me. If I open all my professions with an action button at the beginning of a session, then after that the Skillet trade buttons seem to work flawlessly.
The zip file below contains versions of Skillet.lua
and SkilletData.lua
which change the CastSpellByName
to your suggested CastSpell(offset+1,BOOKTYPE_PROFESSION)
. Since the original version doesn't fail for me all the time, I'll need some additional testing from you. Let me know, please.
Thank you, it's working perfectly.
Skillet-5.00-alpha18 contains this fix.
You should try to use CastSpell(offset+1,BOOKTYPE_PROFESSION) to change professions with the buttons on the top right. You can get the offset with the GetProfessionInfo function like you do in SkilletData.lua.