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
| name | type | description |
|---|---|---|
spellName | any? | name of the spell currently known by the player. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | spec | string? | name of the specialization the spell is exclusive to, nil if not a specialization-granted spell. |
| 2 | class | string? | 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 ↗.