FANDOM


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

Mists-Logo-Small Patch 5.0.4 (28-August-2012): Added.

See also

Community content is available under CC-BY-SA unless otherwise noted.