EffectOperation
subtype of function
A function executed when resolving an effect.
Functions that use this type as parameter
Functions that use this type as parameter
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) → nil
function(e,tp,eg,ep,ev,re,r,rp)Parameters
Effect
eThe resolving effect.
int
tpThe player resolving 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.