Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API UnitClassification

Last wiki revision 2022-07-26

Returns the classification of the specified unit (e.g., "elite" or "worldboss"). classification = UnitClassification(unit)

  • unit: : UnitId
  • classification: - the unit's classification: "worldboss", "rareelite", "elite", "rare", "normal", "trivial", or "minus"

Note that "trivial" is for low-level targets that would not reward experience or honor ( would return '1'), whereas "minus" is for mobs that show a miniature version of the v-key health plates.

if ( UnitClassification("target") == "worldboss" ) then -- If unit is a world boss show skull regardless of level TargetLevelText:Hide; TargetHighLevelTexture:Show; end

Result

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

Source

https://warcraft.wiki.gg/wiki/API_UnitClassification · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.