WoW API: GetTradeSkillLine

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

WoW API < GetTradeSkillLine

 local tradeskillName, currentLevel, maxLevel = GetTradeSkillLine();


ReturnsEdit

tradeskillName
Name of the current tradeskill
currentLevel
Current level in tradeskill
maxLevel
Current maxlevel for tradeskill (based on Journeyman, Expert etc..)


Note: GetTradeSkillLine() works by calling up your profession (ex: Blacksmithing) and pulls the data for the return values. If the profession window does not open, it will return an Unknown value for tradeskillName.