WoW:API GetTradeSkillLine: Difference between revisions
Jump to navigation
Jump to search
(Fixed formating to look more like the other pages) |
mNo edit summary |
||
Line 10: | Line 10: | ||
:;maxLevel : Current maxlevel for tradeskill (based on Journeyman, Expert etc..) | :;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. |
Revision as of 22:13, 4 July 2010
local tradeskillName, currentLevel, maxLevel = GetTradeSkillLine();
Returns
- 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.