Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetTradeSkillLine

Last wiki revision 2022-07-21

Returns information about the current tradeskill. tradeskillName, currentLevel, maxLevel, skillLineModifier = GetTradeSkillLine

  • tradeskillName: - Name of the current tradeskill
  • currentLevel: - Current skill level in the current tradeskill
  • maxLevel: - Current maximum skill level for the current tradeskill (based on Journeyman, Expert etc.)
  • skillLineModifier: - Skill modifier from racial abilities etc.

This function returns information about the current tradeskill, which is the one currently visible in the Trade Skill frame. If the Trade Skill frame isn't open then 'UNKNOWN' is returned for 'tradeSkillName' and zero for all other values.

Based on use of the function in Blizzard's code, 'tradeSkillName' appears to be a localized name for the tradeskill.

Source

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