API UnitIsFeignDeath

From Wowpedia
Jump to: navigation, search

Returns whether a unit is feigning death.

isFeign = UnitIsFeignDeath("unit")

Arguments

unit 
String - unit to check.

Returns

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

Details

  • Only provides valid data for friendly units.
  • Does not work for the player character. Use UnitAura instead:
isFeign = UnitAura("player", "Feign Death") ~= nil

Patch changes