Skip to content

Effect.SetTarget

Source Code | Effect Functions

Sets (Effect e)'s target function. In a activate effects, the target function is the function used to do the activation legality check and to execute steps that must be done during the activation (e.g. targeting cards, declaring names or numbers, etc).

Signature

Effect.SetTarget(Effect e, function targ_func) → nil

lua
e:SetTarget(targ_func)

Parameters


under-construction