v0.13.8

C_SpellBook.IsSpellInSpellBook

functionimplementedavailable in: camelot

Returns true if a spell should be found in the spellbook. This function can also return true for spells that aren't known, such as override spells granted by an aura linked to class talents

signaturewowlua
function C_SpellBook.IsSpellInSpellBook(    spellID: number,    spellBank: SpellBookSpellBank,    includeOverrides: boolean): boolean

Parameters

nametypedescription
spellIDnumber
spellBankSpellBookSpellBankDefault: "Player".
includeOverridesbooleanDefault: true.

Returns

isInSpellBook · boolean

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 ↗.