Auxiliary.AddSynchroProcedure
Signature
lua
Auxiliary.AddSynchroProcedure(Card c, [function|nil f1], [function|nil f2], int minc, [int maxc]) -> voidDescription
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
cCard- Synchro Monster that receives the procedure.f1function|niloptional - Optional Tuner filter. nil accepts any legal Tuner.f2function|niloptional - Optional non-Tuner filter, commonly built with Auxiliary.NonTuner.mincint- Minimum number of non-Tuner materials.maxcintoptional - 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.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Accel Synchro Stardust Dragon | 30983281 | Scripts/c30983281.lua | 1 |
| Ashtraja Susanoo | 17020474 | Scripts/c17020474.lua | 1 |
| Predaplant Bal Teah | 66787942 | Scripts/c66787942.lua | 1 |
| PSY-Framelord Omega | 74586817 | Scripts/c74586817.lua | 1 |
| PSY-Framelord Zeta | 37192109 | Scripts/c37192109.lua | 1 |
| Earthbound Servant Geo Gremlin | 8690387 | Scripts/c8690387.lua | 1 |
| Angelica, Princess of Noble Arms | 36320744 | Scripts/c36320744.lua | 1 |
| Ecclesia and the Dark Dragon | 78397661 | Scripts/c78397661.lua | 1 |
| Plunder Patrollship Jord | 85969517 | Scripts/c85969517.lua | 1 |
| Power Tool Braver Dragon | 63265554 | Scripts/c63265554.lua | 1 |
| Saiba the Soldier Swordsmith | 36608728 | Scripts/c36608728.lua | 1 |
| Arms of Genex Return Zero | 61775475 | Scripts/c61775475.lua | 1 |
| Hi-Speedroid Cork Shooter | 23361526 | Scripts/c23361526.lua | 1 |
| Flower Cardian Moonflowerviewing | 33541430 | Scripts/c33541430.lua | 1 |
| Genex Ally Triforce | 52709508 | Scripts/c52709508.lua | 1 |
| Genex Ally Triarm | 17760003 | Scripts/c17760003.lua | 1 |
| Supreme King Z-ARC - Synchro Universe | 48654267 | Scripts/c48654267.lua | 1 |
| Clear Wing Fast Dragon | 90036274 | Scripts/c90036274.lua | 1 |
| Cupid Pitch | 21915012 | Scripts/c21915012.lua | 1 |
| Masterflare Hyperion | 63101468 | Scripts/c63101468.lua | 1 |
| D/D/D Super Doom King Bright Armageddon | 72402069 | Scripts/c72402069.lua | 1 |
| Psychic Omnibuster | 70659412 | Scripts/c70659412.lua | 1 |
| Daigusto Laplampilica | 76937326 | Scripts/c76937326.lua | 1 |
| Black-Winged Assault Dragon | 73218989 | Scripts/c73218989.lua | 1 |
| ...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 summonAshtraja Susanoo (17020474)
Source: Scripts/c17020474.lua
lua
function s.initial_effect(c)
--Synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--removePredaplant 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