Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetNextTalentLevel

Last wiki revision 2020-01-08

Returns the next level that you will receive a talent point. For instance, my 80 receives 81 as a value, and my level 1 receives 10 as a value. nextLevel = GetNextTalentLevel([level]);

  • level: Number - The level to take into account. (defaults to the character's current level).
  • nextLevel: Number - The level at which your character will gain its next talent point.

The following sample code creates a list of all the level at which a talent point is gained:

LEVELS = {GetNextTalentLevel(1)} repeat local n = GetNextTalentLevel(LEVELS[#LEVELS]) LEVELS[#LEVELS + 1] = n until not n

Source

https://warcraft.wiki.gg/wiki/API_GetNextTalentLevel · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.