Returns whether a unit is currently charmed. A charmed unit is affected by Mind Control (or a similar effect) and thus hostile to units which are normally his or her allies.
See also Unit functions.
Signature:
isCharmed
=
UnitIsCharmed("unit")
Arguments:
unit
- A unit to query (string
, unitID)
Returns:
isCharmed
- 1 if the unit is charmed; otherwise nil (1nil
)