Skip to content

Fusion.AddProcCode4 ​

Source Code | Usage Examples | Fusion Functions

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

Signature ​

Fusion.AddProcCode4(Card c, int code1, int code2, int code3, int code4, bool sub, bool insf) → nil

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

  • int code3 ​

    The ID of the third material.

  • int code4 ​

    The ID of the fourth 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.