>wowhelm_
~/forever/addon-api/function/C_Spell.GetSpellPowerCost

C_Spell.GetSpellPowerCost

documented function · Spell
C_Spell.GetSpellPowerCost(spellIdentifier) : powerCosts

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

──ARGUMENTS
spellIdentifier
SpellIdentifier
──RETURNS
powerCosts
table<SpellPowerCostInfo>
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

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