C_SpellBook.IsSpellBookItemPassive

From Warcraft Wiki
Jump to navigation Jump to search

Returns true if the SpellBookItem is a passive spell; Will always return false if it is not a spell

isPassive = C_SpellBook.IsSpellBookItemPassive(spellBookItemSlotIndex, spellBookItemSpellBank)

Arguments

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

Returns

isPassive
boolean