~/forever/addon-api/function/C_SpellBook.GetSpellBookItemAutoCast
C_SpellBook.GetSpellBookItemAutoCast
documented function · SpellBook
C_SpellBook.GetSpellBookItemAutoCast(spellBookItemSlotIndex, spellBookItemSpellBank) : autoCastAllowed, autoCastEnabledReturns nothing if item doesn't exist or isn't a spell
──ARGUMENTS
- spellBookItemSlotIndex
- luaIndex
- spellBookItemSpellBank
- SpellBookSpellBank
──RETURNS
- autoCastAllowed
- bool (True if this spell is allowed to be auto-cast)
- autoCastEnabled
- bool (True if auto-casting this spell is currently enabled (usually by the player))
──DETAILS
- May Return Nothing
- true
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.