GetSpecializationRole

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.0.4

Returns the role a specialization is intended to perform.

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.

Details

See also

Patch changes

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.