m
no edit summary
(Figured out the significance of the 5th return variable) |
mNo edit summary |
||
| Line 3: | Line 3: | ||
Gets details on a profession from its index including name, icon, and skill level. | Gets details on a profession from its index including name, icon, and skill level. | ||
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | ||
name, icon, skillLevel, maxSkillLevel, numAbilities, | name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillLine = GetProfessionInfo(index) | ||
== Arguments == | == Arguments == | ||
| Line 17: | Line 17: | ||
;maxSkillLevel : Number - the current skill cap (75 for apprentice, 150 for journeyman etc.) | ;maxSkillLevel : Number - the current skill cap (75 for apprentice, 150 for journeyman etc.) | ||
;numAbilites : Number - The number of abilities/icons listed. These are the icons you put on your action bars. | ;numAbilites : Number - The number of abilities/icons listed. These are the icons you put on your action bars. | ||
; | ;spelloffset : Number - haven't figured this one out yet | ||
; | ;skillLine : Number - haven't figured this one out yet | ||
== Details == | == Details == | ||