>wowhelm_
~/forever/addon-api/function/C_SpellBook.GetSpellBookItemPowerCost

C_SpellBook.GetSpellBookItemPowerCost

documented function · SpellBook
C_SpellBook.GetSpellBookItemPowerCost(spellBookItemSlotIndex, spellBookItemSpellBank) : powerCosts

Returns a table containing one or more SpellPowerCostInfos, one for each power type a SpellBookItem costs; May return nil if item is not found or has no resource costs

──ARGUMENTS
spellBookItemSlotIndex
luaIndex
spellBookItemSpellBank
SpellBookSpellBank
──RETURNS
powerCosts
table<SpellPowerCostInfo>
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.