![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
This is no longer a part of the World of Warcraft API.
|
Returns whether a mob is elite.
isElite = UnitIsPlusMob("unit")
Arguments
- target
- String - unit to check for elite status.
Returns
- isElite
- Flag - Indicates if the mob is elite, 1 if it is, nil if it is not.
Example
local isElite = UnitIsPlusMob("target")
if isElite then
print("Run away! Run away!")
else
CastSpellByName("Pyroblast")
end
