Skip to content

aux.AddUnionProcedure ​

Source Code | Usage Examples | aux Functions

Adds the Union Procedure to (Card c) where (function f) is the cards you can equip the Union monster to, and (bool oldrule) is a check to apply old rulings of the Union monster. if oldprotect is not nil, uses old rules for destroy replacement (If the equipped monster would be destroyed, destroy this card instead.)

Signature ​

aux.AddUnionProcedure(Card c, function f, bool oldrule, bool oldprotect) → nil

lua
aux.AddUnionProcedure(c,f,oldrule,oldprotect)

Parameters ​


under-construction