Changing professions possible solution
Tarkumi opened this issue ยท 6 comments
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.
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.
Skillet-5.00-alpha18 contains this fix.