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
Auxiliary.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
lua
function(e,tp,eg,ep,ev,re,r,rp)
Parameters
Effect
e
The resolving effect.
int
tp
The player that activated the effect.
Group
eg
The event group of the effect activation.
int
ep
The event player of the effect activation.
Group
ev
The event value of the effect activation.
Effect
re
The reason effect of the effect activation.
int
r
The reason of the effect activation.
int
rp
The reason player of the effect activation.