WoW:API GetProfessionInfo: Difference between revisions

Added info about the return variable "spelloffset"
(Added info about the return variable "spelloffset")
Line 18: Line 18:
;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
;spelloffset : Number - The offset id of the first Spell of this profession. (you can CastSpell(spelloffset + 1, "Spell") to use the first spell of this profession)
;skillLine : Number - reference to the profession. (See Details.)
;skillLine : Number - reference to the profession. (See Details.)
;skillModifier : Number - Additional modifiers to your profession levels. IE: Lures for Fishing.
;skillModifier : Number - Additional modifiers to your profession levels. IE: Lures for Fishing.
Anonymous user