Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API UnitIsPlusMob

Last wiki revision 2020-01-08

Returns whether a mob is elite. isElite = UnitIsPlusMob("unit")

  • target : String - unit to check for elite status.
  • isElite : Flag - Indicates if the mob is elite, 1 if it is, nil if it is not.

local isElite = UnitIsPlusMob("target") if isElite then print("Run away! Run away!") else CastSpellByName("Pyroblast") end

Source

https://warcraft.wiki.gg/wiki/API_UnitIsPlusMob · 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.