WoW API: UnitIsFeignDeath

Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API UnitIsFeignDeath to API UnitIsFeignDeath without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < UnitIsFeignDeath


Returns whether a unit is feigning death.

isFeign = UnitIsFeignDeath("unit");

ParametersEdit

ArgumentsEdit

("unit")
unit
String - The UnitId of the unit to check

ReturnsEdit

isFeign
Flag - Returns 1 if the unit is feigning death, nil otherwise.

DetailsEdit

Only provides valid data for friendly units.
Does not work for unit "player", see UnitAura function
Example
if UnitAura("player", "Feign Death") == "Feign Death" then .....