v0.13.8

C_Spell.GetOverrideSpell

functionimplementedavailable in: camelot

Returns the ID for the override spell.

signaturewowlua
function C_Spell.GetOverrideSpell(    spellIdentifier: SpellIdentifier,    spec: number,    onlyKnown: boolean,    ignoreOverrideSpellID: number): number

Parameters

nametypedescription
spellIdentifierSpellIdentifier
specnumberWhich Class Specialization to consider, as overrides may vary by Spec; Defaults to player's current Spec Default: 0.
onlyKnownbooleanDefault: true.
ignoreOverrideSpellIDnumberDefault: 0.

Returns

overrideSpellID · number · Returns the spellID for the active version of the spell

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) (Spell system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.