Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!
→ WoW API
|This is no longer a part of the World of Warcraft API.
Returns whether a mob is elite.
isElite = UnitIsPlusMob("unit")
- String - unit to check for elite status.
- 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