>wowhelm_
~/forever/addon-api/function/C_Spell.GetBaseSpell

C_Spell.GetBaseSpell

documented function · Spell
C_Spell.GetBaseSpell(spellIdentifier, spec) : baseSpellID
──ARGUMENTS
spellIdentifier
SpellIdentifier
spec
number, default 0, never secret (Which Class Specialization to consider, as overrides may vary by Spec; Defaults to player's current Spec)
──RETURNS
baseSpellID
number (Returns the spellID passed in if there is no override)
──DETAILS
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.