v0.13.8

GetProfessions

functionimplementedavailable in: camelot

Returns the spell tab indices of the character's current professions.

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

Returns

#nametypedescription
1prof1number?spell tab index for the first primary profession, or nil if not learned.
2prof2number?spell tab index for the second primary profession, or nil if not learned.
3archaeologynumber?spell tab index for Archaeology, or nil if not learned.
4fishingnumber?spell tab index for Fishing, or nil if not learned.
5cookingnumber?spell tab index for Cooking, or nil if not learned.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

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