C_SpellBook .GetSpellBookItemAutoCast
Jump to navigation
Jump to search
![]() ![]() ![]() ![]() |
C_Spell.GetSpellAutoCast |
![]() |
+ 11.0.0 |
![]() ![]() ![]() ![]() |
C_SpellBook.GetSpellBookItemAutoCast |
![]() |
+ 11.0.0 |
![]() ![]() |
GetSpellAutocast |
![]() ![]() ![]() |
+ 1.7.0, - 11.0.0 |
Returns nothing if item doesn't exist or isn't a spell
autoCastAllowed, autoCastEnabled = C_SpellBook.GetSpellBookItemAutoCast(spellBookItemSlotIndex, spellBookItemSpellBank)
Arguments
- spellBookItemSlotIndex
- number
- spellBookItemSpellBank
- Enum.SpellBookSpellBank
Value | Field | Description |
---|---|---|
0 | Player | |
1 | Pet |
Returns
- autoCastAllowed
- boolean - True if this spell is allowed to be auto-cast
- autoCastEnabled
- boolean - True if auto-casting this spell is currently enabled (usually by the player)