C_Spell. GetSpellInfo
functionimplementedavailable in: camelot
Returns spell info.
function C_Spell.GetSpellInfo( spellIdentifier: SpellIdentifier): SpellInfo?Parameters
| name | type | description |
|---|---|---|
spellIdentifier | SpellIdentifier | Using name will always check for an override on that spell |
Returns
spellInfo · SpellInfo? · Returns nil if spell is not found
| field | type | description |
|---|---|---|
name | string | |
iconID | number | Icon 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 |
originalIconID | number | |
castTime | number | |
minRange | number | |
maxRange | number | |
spellID | number |
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 ↗.