|
|
@ -281,7 +281,6 @@ function Bastion.Bootstrap() |
|
|
|
for _, i in pairs{GetProfessions()} do |
|
|
|
for _, i in pairs{GetProfessions()} do |
|
|
|
local skillLineInfo = C_SpellBook.GetSpellBookSkillLineInfo(i) |
|
|
|
local skillLineInfo = C_SpellBook.GetSpellBookSkillLineInfo(i) |
|
|
|
local offset, numSlots = skillLineInfo.itemIndexOffset, skillLineInfo.numSpellBookItems |
|
|
|
local offset, numSlots = skillLineInfo.itemIndexOffset, skillLineInfo.numSpellBookItems |
|
|
|
Bastion.Globals.Log:Log(59, { offset = offset, numSlots = numSlots}, logCat) |
|
|
|
|
|
|
|
local name, subName = C_SpellBook.GetSpellBookItemName(j, Enum.SpellBookSpellBank.Player) |
|
|
|
local name, subName = C_SpellBook.GetSpellBookItemName(j, Enum.SpellBookSpellBank.Player) |
|
|
|
local spellID = select(2,C_SpellBook.GetSpellBookItemType(j, Enum.SpellBookSpellBank.Player)) |
|
|
|
local spellID = select(2,C_SpellBook.GetSpellBookItemType(j, Enum.SpellBookSpellBank.Player)) |
|
|
|
if spellID then |
|
|
|
if spellID then |
|
|
|