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

C_SpellBook.IsRangedAutoAttackSpellBookItem

documented function · SpellBook
C_SpellBook.IsRangedAutoAttackSpellBookItem(spellBookItemSlotIndex, spellBookItemSpellBank) : isRangedAutoAttack

Returns true if the SpellBookItem is the player's ranged Auto Attack spell (ex: Shoot, Auto Shot, etc)

──ARGUMENTS
spellBookItemSlotIndex
luaIndex
spellBookItemSpellBank
SpellBookSpellBank
──RETURNS
isRangedAutoAttack
bool
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

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