C_SpellBook.IsAutoAttackSpellBookItem

From Warcraft Wiki
Jump to navigation Jump to search

Returns true if the SpellBookItem is the player's melee Auto Attack spell

isAutoAttack = C_SpellBook.IsAutoAttackSpellBookItem(spellBookItemSlotIndex, spellBookItemSpellBank)

Arguments

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

Returns

isAutoAttack
boolean