Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
→ WoW API
Returns the classification of the specified unit (e.g., "elite" or "worldboss").
classification = UnitClassification(unit);
- unitId - the unit to query, e.g. "target"
- String - the unit's classification: "worldboss", "rareelite", "elite", "rare", "normal", "trivial" or "minus"
if ( UnitClassification("target") == "worldboss" ) then -- If unit is a world boss show skull regardless of level TargetLevelText:Hide(); TargetHighLevelTexture:Show(); end
- If the target is a world boss, then the level isn't shown in the target frame, instead a special high level texture is shown.