Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetSkillLineInfo

Last wiki revision 2022-08-01

Returns information on a skill line/header. skillName, header, isExpanded, skillRank, numTempPoints, skillModifier, skillMaxRank, isAbandonable, stepCost, rankCost, minLevel, skillCostType, skillDescription = GetSkillLineInfo(index)

  • index: - The index of a line in the skills window, can be a header or skill line. Indices can change depending on collapsed/expanded headers.
  • 1. skillName: - Name of the skill line.
  • 2. header: - Returns 1 if the line is a header, nil otherwise.
  • 3. isExpanded: - Returns 1 if the line is a header and expanded, nil otherwise.
  • 4. skillRank: - The current rank for the skill, 0 if not applicable.
  • 5. numTempPoints: - Temporary points for the current skill.
  • 6. skillModifier: - Skill modifier value for the current skill.
  • 7. skillMaxRank: - The maximum rank for the current skill. If this is 1 the skill is a proficiency.
  • 8. isAbandonable: - Returns 1 if this skill can be unlearned, nil otherwise.
  • 9. stepCost: - Returns 1 if skill can be learned, nil otherwise.
  • 10. rankCost: - Returns 1 if skill can be trained, nil otherwise.
  • 11. minLevel: - Minimum level required to learn this skill.
  • 12. skillCostType:
  • 13. skillDescription: - Localized skill description text

Prints the player's skill lines. /run for i = 1, GetNumSkillLines do print(i, GetSkillLineInfo(i)) end

Source

https://warcraft.wiki.gg/wiki/API_GetSkillLineInfo · 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.