DelayedEffectOperation
subtype of function
An operation to perform on affected cards in a given phase.
Functions that use this type as parameter
Functions that use this type as parameter
aux.DelayedOperation- Performs an operation on cards each time a given phase is entered
Signature
function(Group ag, Effect e, int tp, nil eg, int ep, Group ev, nil re, int r, int rp) → nil
lua
function(ag,e,tp,eg,ep,ev,re,r,rp)Parameters
Group
agThe group of affected cards.
Effect
eThe "delayed effect" performing the operation.
int
tpUnused, always
0.nil
egUnused.
int
epThe current player.
Group
evUnused, always
0.nil
reUnused.
int
rUnused, always
0.int
rpUnused, always
2.
WARNING
Since the delayed effect is an EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS effect, tp, eg, ev, re, r, rp are practically useless. They're either always nil/0 or redundant information.
This function type's signature may be adjusted later.
See Also
- DelayedEffectCondition - Corresponding condition function.