C_SpellBook .SpellBookItemHasRange
Jump to navigation
Jump to search
C_Spell.SpellHasRange |
+ 11.0.2 | ||
C_SpellBook.SpellBookItemHasRange |
+ 11.0.2 | ||
SpellHasRange |
+ 2.0.1, - 11.0.2 |
Returns true if the SpellBookIem has a min and/or max range greater than 0; Will always return false if it is not a spell
hasRange = C_SpellBook.SpellBookItemHasRange(spellBookItemSlotIndex, spellBookItemSpellBank)
Arguments
- spellBookItemSlotIndex
- number
- spellBookItemSpellBank
- Enum.SpellBookSpellBank
Value | Field | Description |
---|---|---|
0 | Player | |
1 | Pet |
Returns
- hasRange
- boolean