C_Spell. GetBaseSpell
functionimplementedavailable in: camelot
Returns the ID of the base spell that the given spell overrides, or the spell's own ID when it overrides none. · description by wowlua
function C_Spell.GetBaseSpell( spellIdentifier: SpellIdentifier, spec: number): numberParameters
| name | type | description |
|---|---|---|
spellIdentifier | SpellIdentifier | The spell's ID or name. |
spec | number | Which Class Specialization to consider, as overrides may vary by Spec; Defaults to player's current Spec Default: 0. |
Returns
baseSpellID · number · Returns the spellID passed in if there is no override
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: written by wowlua where no documentation describes the entry. Parameter and result notes: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.