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
cThe Equip Spell to add the procedure to.
int
tpThe player allowed to equip
c. Can bePLAYER_ALLto allow both.TargetFilterFunction
filterFilter for monsters that can be initially equipped with
c.EquipLimitFunction
eqlimitFunction to restrict which monsters
ccan remain equipped to.EffectCost
costCost of the equipping effect.
EffectTarget
tgActivation procedure of the equipping effect.
EffectOperation
opResolution of the equipping effect.
EffectCondition
conCondition of the equipping effect.
int
propEffectFlag of the equipping effect.