WoW API: UnitIsGhost

From AddOn Studio
Jump to navigation Jump to search

WoW API < UnitIsGhost

Very useful to determine if a mod should be doing something if your ("unit" => "player") is a ghost.

Returns 1 if "unit" is a ghost, nil otherwise.

It is unknown how this works for "pet", but since a pet is never a ghost...