~/forever/addon-api/function/PlayerIsSpellTarget
PlayerIsSpellTarget
documented function · Unit
PlayerIsSpellTarget(unit) : resultIf the unit is currently casting a spell, returns whether spell's target unit is the player. Returns false if the unit is not casting a spell or the spell has no target.
──ARGUMENTS
- unit
- UnitToken
──RETURNS
- result
- bool
──DETAILS
- Secret Returns
- true
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.