GetSchoolString

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak Globe.png  Townlong-Yak BAD.png  Blizz.gif  ProfIcons engineering.png C_Spell.GetSchoolString 12.0.0 (63854)11.2.7 (63853)5.5.2 (63832)1.15.8 (63829) + 10.2.6 / 4.4.0 / 1.15.2
AllowedWhenTainted
GitHub Octocat.png  Townlong-Yak Globe.png GetSchoolString + 5.2.0 / 1.13.2

World of Warcraft API

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].