Fandom

WoWWiki

API GetTradeSkillLine

104,635pages on
this wiki
Add New Page
Talk1 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetTradeSkillLine
 local tradeskillName, currentLevel, maxLevel = GetTradeSkillLine();


Returns Edit

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.

Also on Fandom

Random Wiki