C_SpellBook .IsRangedAutoAttackSpellBookItem
Jump to navigation
Jump to search
Returns true if the SpellBookItem is the player's ranged Auto Attack spell (ex: Shoot, Auto Shot, etc)
isRangedAutoAttack = C_SpellBook.IsRangedAutoAttackSpellBookItem(spellBookItemSlotIndex, spellBookItemSpellBank)
Arguments
- spellBookItemSlotIndex
- number
- spellBookItemSpellBank
- Enum.SpellBookSpellBank
Value | Field | Description |
---|---|---|
0 | Player | |
1 | Pet |
Returns
- isRangedAutoAttack
- boolean