WoW API: GetNumTalents

Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetNumTalents to API GetNumTalents without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetNumTalents

Returns the total number of talents in a tab. Note: This includes learned and unlearned talents.

local numTalents = GetNumTalents(tabIndex);

Arguments
tabIndex
Integer - Specifies which tab to count the total number of talent points.

Returns
numTalents
Integer - The number of talents in that tab.

Patch changesEdit

Template:Mists-inline <span style="" title="Patch 5.0.4">Patch 5.0.4</span> (patch date::28-August-2012): Returns 18
.