Skip to content

Auxiliary.AddSynchroProcedure ​

Signature ​

lua
Auxiliary.AddSynchroProcedure(Card c, [function|nil f1], [function|nil f2], int minc, [int maxc]) -> void

Description ​

Registers the standard Synchro Summon procedure for c. f1 filters the Tuner material, f2 filters non-Tuner materials, and minc/maxc set the number of non-Tuner materials required. The created procedure lives in the Extra Deck, checks materials through the core Synchro helpers, stores the selected group for the operation, and sends materials to the GY with REASON_MATERIAL+REASON_SYNCHRO.

Parameters ​

  • c Card - Synchro Monster that receives the procedure.
  • f1 function|nil optional - Optional Tuner filter. nil accepts any legal Tuner.
  • f2 function|nil optional - Optional non-Tuner filter, commonly built with Auxiliary.NonTuner.
  • minc int - Minimum number of non-Tuner materials.
  • maxc int optional - Maximum number of non-Tuner materials. If omitted, the helper caps it by c's Level minus 1.

Source ​

  • Utilities/procedure.lua:60

Guided Examples ​

Learn how to use this function in context:

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 496 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.AddSynchroProcedure.
CardIDScriptDetected Calls
Accel Synchro Stardust Dragon30983281Scripts/c30983281.lua1
Ashtraja Susanoo17020474Scripts/c17020474.lua1
Predaplant Bal Teah66787942Scripts/c66787942.lua1
PSY-Framelord Omega74586817Scripts/c74586817.lua1
PSY-Framelord Zeta37192109Scripts/c37192109.lua1
Earthbound Servant Geo Gremlin8690387Scripts/c8690387.lua1
Angelica, Princess of Noble Arms36320744Scripts/c36320744.lua1
Ecclesia and the Dark Dragon78397661Scripts/c78397661.lua1
Plunder Patrollship Jord85969517Scripts/c85969517.lua1
Power Tool Braver Dragon63265554Scripts/c63265554.lua1
Saiba the Soldier Swordsmith36608728Scripts/c36608728.lua1
Arms of Genex Return Zero61775475Scripts/c61775475.lua1
Hi-Speedroid Cork Shooter23361526Scripts/c23361526.lua1
Flower Cardian Moonflowerviewing33541430Scripts/c33541430.lua1
Genex Ally Triforce52709508Scripts/c52709508.lua1
Genex Ally Triarm17760003Scripts/c17760003.lua1
Supreme King Z-ARC - Synchro Universe48654267Scripts/c48654267.lua1
Clear Wing Fast Dragon90036274Scripts/c90036274.lua1
Cupid Pitch21915012Scripts/c21915012.lua1
Masterflare Hyperion63101468Scripts/c63101468.lua1
D/D/D Super Doom King Bright Armageddon72402069Scripts/c72402069.lua1
Psychic Omnibuster70659412Scripts/c70659412.lua1
Daigusto Laplampilica76937326Scripts/c76937326.lua1
Black-Winged Assault Dragon73218989Scripts/c73218989.lua1
...and 472 more

Script Examples ​

Accel Synchro Stardust Dragon (30983281) ​

Source: Scripts/c30983281.lua

lua
	aux.AddCodeList(c,44508094)
	--synchro summon
	aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
	c:EnableReviveLimit()
	--special summon

Ashtraja Susanoo (17020474) ​

Source: Scripts/c17020474.lua

lua
function s.initial_effect(c)
	--Synchro summon
	aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
	c:EnableReviveLimit()
	--remove

Predaplant Bal Teah (66787942) ​

Source: Scripts/c66787942.lua

lua
	local e0=aux.AddThisCardInGraveAlreadyCheck(c)
	--Synchro summon
	aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
	c:EnableReviveLimit()
	--special summon