GetSchoolString
Jump to navigation
Jump to search
C_Spell.GetSchoolString |
+ 10.2.6 / 4.4.0 / 1.15.2 | AllowedWhenTainted
| ||
GetSchoolString |
+ 5.2.0 / 1.13.2 |
| This function was deprecated in patch 10.2.6 but it is unclear when the deprecation will be removed. |
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
Patch 5.2.0 (2013-03-05): Added; replaces the FrameXML global SchoolStringTable[1].