Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetProfessionInfo

Last wiki revision 2022-12-13

Gets details on a profession from its index including name, icon, and skill level. name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillLine, skillModifier, specializationIndex, specializationOffset = GetProfessionInfo(index)

  • index: - The skillLineIDs from
  • name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillLine, skillModifier
  • name: - The localized skill name
  • icon: - the location of the icon image
  • skillLevel: - the current skill level
  • maxSkillLevel: - the current skill cap (75 for apprentice, 150 for journeyman etc.)
  • numAbilities: - The number of abilities/icons listed. These are the icons you put on your action bars.
  • spelloffset: - 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: - Reference to the profession.
  • skillModifier: - Additional modifiers to your profession levels. IE: Lures for Fishing.
  • specializationIndex: - A value indicating which specialization is known (ie. Transmute specialist for Alchemist)
  • specializationOffset: - Haven't figured this one out yet

This also seems to return some kind of data on the talent trees and guild perks.

Source

https://warcraft.wiki.gg/wiki/API_GetProfessionInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.