Lore archive · Warcraft Wiki, 2023 dump
API GetSpecializationRole
Last wiki revision 2022-08-03
Returns the role a specialization is intended to perform. roleToken = GetSpecializationRole(specIndex [, isInspect, isPet])
- specIndex: - Specialization index, ascending from 1.
- roleToken: - One of "DAMAGER", "TANK", "HEALER"; 0 if the query is invalid.
- While the inspection/pet arguments are suggested by the syntax error message, the function only returns 0 when those arguments are used. FrameXML uses ("unit") in conjunction with (id) instead.
Source
https://warcraft.wiki.gg/wiki/API_GetSpecializationRole · 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.