WoW API: GetSpecializationRole

From AddOn Studio
Revision as of 23:02, 30 August 2012 by WoWWiki>Lushas (Created page with "{{wowapi}} Returns the role a specialization is intended to perform. local roleToken = GetSpecializationRole(specIndex[, isInspect[, isPet]]) == Arguments == ; specIndex : N...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetSpecializationRole

Returns the role a specialization is intended to perform.

local roleToken = GetSpecializationRole(specIndex[, isInspect[, isPet]])

Arguments

specIndex
Number - Specialization index, ascending from 1.

Returns

roleToken
String - One of "DAMAGER", "TANK", "HEALER"; 0 if the query is invalid.

Notes

Patch history

Template:Mists-inline <span style="" title="Patch 5.0.4">Patch 5.0.4</span> (patch date::28-August-2012): Added.

See also