→ WoW API
local tradeskillName, currentLevel, maxLevel = GetTradeSkillLine();
- Name of the current tradeskill
- Current level in tradeskill
- 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.