API UnitIsGhost
Talk0
98,518pages on
this wiki
this wiki
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...