v0.13.7

C_Spell.GetSpellInfo

functionimplementedavailable in: camelot

Returns spell info.

signaturewowlua
function C_Spell.GetSpellInfo(    spellIdentifier: SpellIdentifier): SpellInfo?

Parameters

nametypedescription
spellIdentifierSpellIdentifierUsing name will always check for an override on that spell

Returns

spellInfo · SpellInfo? · Returns nil if spell is not found

SpellInfo
fieldtypedescription
namestring
iconIDnumberIcon for this spell; If spell has been overriden, this may be the icon for the overriding spell; See originalIconID for spell's non-overriden icon
originalIconIDnumber
castTimenumber
minRangenumber
maxRangenumber
spellIDnumber

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