We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 23f7863 + 3fe55f2 commit 7a4132aCopy full SHA for 7a4132a
Myslot.lua
@@ -13,6 +13,15 @@ local MYSLOT_AUTHOR = "Boshi Lian <[email protected]>"
13
14
local MYSLOT_VER = 42
15
16
+-- TWW Beta Compat code (fix and cleanup below later)
17
+local GetNumSpellTabs = C_SpellBook and C_SpellBook.GetNumSpellBookSkillLines or GetNumSpellTabs
18
+local GetSpellTabInfo = C_SpellBook and C_SpellBook.GetSpellBookSkillLineInfo or GetSpellTabInfo
19
+local PickupSpell = C_Spell and C_Spell.PickupSpell or PickupSpell
20
+local PickupItem = C_Item and C_Item.PickupItem or PickupItem
21
+local GetSpellInfo = C_Spell and C_Spell.GetSpellName or GetSpellInfo
22
+local GetSpellLink = C_Spell and C_Spell.GetSpellLink or GetSpellLink
23
+-- TWW Beta Compat End
24
+
25
-- local MYSLOT_IS_DEBUG = true
26
local MYSLOT_LINE_SEP = IsWindowsClient() and "\r\n" or "\n"
27
local MYSLOT_MAX_ACTIONBAR = 180
0 commit comments