v0.13.8

IsSpellClassOrSpec

functionguessedavailable in: camelot

Returns whether a given spell is specific to a specialization and/or class.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
spellNameany?name of the spell currently known by the player.

Returns

#nametypedescription
1specstring?name of the specialization the spell is exclusive to, nil if not a specialization-granted spell.
2classstring?name of the class the spell is exclusive to, nil if not a class ability.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.