WoW:API GetProfessionInfo: Difference between revisions

skillModifier added!
mNo edit summary
(skillModifier added!)
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, spelloffset, skillLine = GetProfessionInfo(index)
  name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillLine, skillModifier = GetProfessionInfo(index)


== Arguments ==
== Arguments ==
Line 10: Line 10:


== Returns ==
== Returns ==
:name, icon, skillLevel, maxSkillLevel, numAbilities, return6, return7<!-- Include this line ONLY IF there are multiple return values and a large number of arguments -->
:name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillLine, skillModifier<!-- Include this line ONLY IF there are multiple return values and a large number of arguments -->
<!-- List each return value, together with its type -->
<!-- List each return value, together with its type -->
;name : String - The skill name
;name : String - The skill name
Line 19: Line 19:
;spelloffset : Number - haven't figured this one out yet
;spelloffset : Number - haven't figured this one out yet
;skillLine : Number - haven't figured this one out yet
;skillLine : Number - haven't figured this one out yet
;skillModifier : Number - Additional modifiers to your profession levels. IE: Lures for Fishing.


== Details ==
== Details ==
Anonymous user