API UnitIsPlusMob

104,670pages on
this wiki
Add New Page
Talk0 Share
WoW API < UnitIsPlusMob

UnitIsPlusMob("unit") will return 1 if it is an elite mob or nothing if it is a normal mob

Check whether a mob is elite

isElite = UnitIsPlusMob("unit")

Parameters Edit

Arguments Edit

String - indicates who to check for elite status.

Returns Edit

Flag - Indicates if the mob is elite, 1 if it is, nil if it is not.

Usage Edit

local isElite = UnitIsPlusMob("target")
 if isElite then
    -- run away code
    -- cast a nasty spell on the mob

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.

Also on Fandom

Random Wiki