Fusion.AddProcCode2FunRep
Source Code | Usage Examples | Fusion Functions
Creates a Fusion Summon recipe for a monster that uses 2 specifically named materials, and a range of other materials that match a filter.
Signature
Fusion.AddProcCode2FunRep(Card c, int code1, int code2, FusionRecipeFilter filter, int minc, int maxc, bool sub, bool insf) → nil
Fusion.AddProcCode2FunRep(c,code1,code2,filter,minc,maxc,sub,insf)Parameters
Card
cThe monster receiving the recipe.
int
code1The ID of the first material.
int
code2The ID of the second material.
FusionRecipeFilter
filterA function that must return
truefor every other material.int
mincThe minimum number of other materials that must match the filter.
int
maxcThe maximum number of other 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.