GetSchoolString

From Warcraft Wiki
Jump to navigation Jump to search

Returns the name of the specified damage school mask.

school = GetSchoolString(schoolMask)

Arguments

schoolMask
number - bitfield mask of damage types.

Returns

school
string - localized school name (e.g. "Frostfire"), or "Unknown" if the school combination isn't named.

Patch changes

Mists of Pandaria Patch 5.2.0 (2013-03-05): Added; replaces the FrameXML global SchoolStringTable[1].