Skip to content

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

lua
Fusion.AddProcCode2FunRep(c,code1,code2,filter,minc,maxc,sub,insf)

Parameters

  • Card c

    The monster receiving the recipe.

  • int code1

    The ID of the first material.

  • int code2

    The ID of the second material.

  • FusionRecipeFilter filter

    A function that must return true for every other material.

  • int minc

    The minimum number of other materials that must match the filter.

  • int maxc

    The maximum number of other materials that must match the filter.

  • bool sub

    A boolean denoting if Fusion Substitutes (e.g. King of the Swamp) are allowed in the materials.

  • bool insf

    A boolean denoting if Fusion Summoning without materials (e.g. Instant Fusion) is allowed.