C_SpellBook.GetSpellBookItemTradeSkillLink

From Warcraft Wiki
Jump to navigation Jump to search

Returns nil if SpellBookItem is not associated with a trade skill

spellLink = C_SpellBook.GetSpellBookItemTradeSkillLink(spellBookItemSlotIndex, spellBookItemSpellBank)

Arguments

spellBookItemSlotIndex
number
spellBookItemSpellBank
Enum.SpellBookSpellBank
Value Field Description
0 Player
1 Pet

Returns

spellLink
string