v0.13.8

C_SpellBook.GetSpellBookItemAutoCast

functionimplementedavailable in: camelot

Returns nothing if item doesn't exist or isn't a spell

signaturewowlua
function C_SpellBook.GetSpellBookItemAutoCast(    spellBookItemSlotIndex: number,    spellBookItemSpellBank: SpellBookSpellBank): (boolean?, boolean?)

Parameters

nametype
spellBookItemSlotIndexnumber
spellBookItemSpellBankSpellBookSpellBank

Returns

#nametypedescription
1autoCastAllowedboolean?True if this spell is allowed to be auto-cast
2autoCastEnabledboolean?True if auto-casting this spell is currently enabled (usually by the player)

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SpellBook system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.