aux.AddEquipProcedure
Source Code | Usage Examples | aux
Functions
Creates and registers an effect to an Equip Spell Card that allows it to be equipped.
Signature
aux.AddEquipProcedure(Card c
, int tp
, TargetFilterFunction filter
, EquipLimitFunction eqlimit
, EffectCost cost
, EffectTarget tg
, EffectOperation op
, EffectCondition con
, int prop
) → Effect
lua
aux.AddEquipProcedure(c,tp,filter,eqlimit,cost,tg,op,con,prop)
Parameters
Card
c
The Equip Spell to add the procedure to.
int
tp
The player allowed to equip
c
. Can bePLAYER_ALL
to allow both.TargetFilterFunction
filter
Filter for monsters that can be initially equipped with
c
.EquipLimitFunction
eqlimit
Function to restrict which monsters
c
can remain equipped to.EffectCost
cost
Cost of the equipping effect.
EffectTarget
tg
Activation procedure of the equipping effect.
EffectOperation
op
Resolution of the equipping effect.
EffectCondition
con
Condition of the equipping effect.
int
prop
EffectProperty of the equipping effect.