C_SpellBook .GetSpellBookItemCastCount
Jump to navigation
Jump to search
![]() ![]() ![]() ![]() |
C_Spell.GetSpellCastCount |
![]() |
+ 11.0.2 |
![]() ![]() ![]() ![]() |
C_SpellBook.GetSpellBookItemCastCount |
![]() |
+ 11.0.2 |
![]() ![]() |
GetSpellCount |
![]() ![]() ![]() |
+ 2.3.0, - 11.0.2 |
Returns number of times a SpellBookItem can be cast, typically based on availability of things like required reagent items; Always returns 0 if item is not found or is not a spell
castCount = C_SpellBook.GetSpellBookItemCastCount(spellBookItemSlotIndex, spellBookItemSpellBank)
Arguments
- spellBookItemSlotIndex
- number
- spellBookItemSpellBank
- Enum.SpellBookSpellBank
Value | Field | Description |
---|---|---|
0 | Player | |
1 | Pet |
Returns
- castCount
- number