Skip to content

Fusion.AddProcCode2

Source Code | Usage Examples | Fusion Functions

Creates a Fusion Summon recipe for a monster that uses 2 specifically named cards as materials.

Signature

Fusion.AddProcCode2(Card c, int code1, int code2, bool sub, bool insf) → nil

lua
Fusion.AddProcCode2(c,code1,code2,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.

  • 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.