DelayedEffectCondition
subtype of function
A condition to check 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
ag
The group of affected cards.
Effect
e
The "delayed effect" that needs to check the cards.
int
tp
Unused, always
0
.nil
eg
Unused.
int
ep
The current player.
Group
ev
Unused, always
0
.nil
re
Unused.
int
r
Unused, always
0
.int
rp
Unused, 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
- DelayedEffectOperation - Corresponding operation function.