Fusion.AddProcCodeFun
Source Code | Usage Examples | Fusion Functions
Creates a Fusion Summon recipe for monsters that use 1 specifically named material, and an exact number of materials that match a filter.
Signature
Fusion.AddProcCodeFun(Card c, int code1, FusionRecipeFilter filter, int ct, bool sub, bool insf) → nil
lua
Fusion.AddProcCodeFun(c,code1,filter,ct,sub,insf)Parameters
Card
cThe monster receiving the recipe.
int
code1The ID of the first material.
FusionRecipeFilter
filterA function that must return
truefor every other material.int
ctThe number of materials that must match the filter.
bool
subA boolean denoting if Fusion Substitutes (e.g. King of the Swamp) are allowed in the materials.
bool
insfA boolean denoting if Fusion Summoning without materials (e.g. Instant Fusion) is allowed.