EffectTarget
subtype of function
A function used to check an effect's activation legality or perform its activation procedure, excluding costs. Usually passed to Effect.SetTarget of activated effects.
Functions that use this type as parameter
Functions that use this type as parameter
Fusion.CreateSummonEff- Creates an effect that performs a Fusion Summon.aux.AddEquipProcedure- Adds procedure for equipping Spells.
Signature
function(Effect e, int tp, Group eg, int ep, Group ev, Effect re, int r, int rp, int chk, [Card chkc]) → bool
function(e,tp,eg,ep,ev,re,r,rp,chk,chkc)Parameters
Effect
eThe effect being activated.
int
tpThe player activating the effect.
Group
egA group of cards associated to the event that prompted the effect activation. The specifics of this group vary depending on the event code.
int
epThe player associated to the event that prompted the effect activation.
Group
evA value associated to the event that prompted the effect activation. The specifics of this value vary depending on the event code.
Effect
reThe effect that caused the event that prompted the effect activation.
int
rComposite Reason value of the event that prompted the effect activation.
int
rpThe player that caused the event that prompted the effect activation.
int
chkMust be
0when checking activation legality, and1when performing the activation procedure.Card
chkcOptional.
The card being checked for target redirection, such as by the effect of Cairngorgon, Antiluminescent Knight.