Skip to content

Duel.SynchroSummon ​

Signature ​

lua
Duel.SynchroSummon(int player, Card c, [Card|nil tuner], [Group|nil mg], [int minc], [int maxc]) -> void

Description ​

Performs a Synchro Summon of c for player, optionally requiring tuner and selecting materials from mg. Use this in an effect operation after checking Card.IsSynchroSummonable; the chosen Synchro Monster's registered procedure still controls material legality. minc and maxc can restrict the number of non-Tuner materials used by the procedure.

Parameters ​

  • player int - Player performing the Synchro Summon.
  • c Card - Synchro Monster to Summon.
  • tuner Card|nil optional - Optional required Tuner material.
  • mg Group|nil optional - Optional material pool to select from.
  • minc int optional - Optional minimum non-Tuner material count override; default: 0.
  • maxc int optional - Optional maximum non-Tuner material count override; default: 0.

Source ​

  • D:\Programs\GitHub\ygopro-core\libduel.cpp:4867

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 77 indexed script(s).
  • Search this function in the Script Explorer with Duel.SynchroSummon.
CardIDScriptDetected Calls
Accel Synchro Stardust Dragon30983281Scripts/c30983281.lua1
Yummy★Snatchy30581601Scripts/c30581601.lua1
Supreme King Dragon Lightwurm41908872Scripts/c41908872.lua1
Saiba the Soldier Swordsmith36608728Scripts/c36608728.lua1
Kewl Tune Remix88170262Scripts/c88170262.lua1
R-Genex Turing61052897Scripts/c61052897.lua1
Naturia Blessing34813545Scripts/c34813545.lua1
Melffy Pinny34800281Scripts/c34800281.lua1
Daigusto Laplampilica76937326Scripts/c76937326.lua1
Kewl Tune B2B65961304Scripts/c65961304.lua1
Performapal Odd-Eyes Synchron82224646Scripts/c82224646.lua1
Accel Synchron37675907Scripts/c37675907.lua1
Stand Up Centur-Ion!41371602Scripts/c41371602.lua1
Mathmech Superfactorial87804365Scripts/c87804365.lua1
Superheavy Samurai Fist71386411Scripts/c71386411.lua1
Elfnote Power Patron12375297Scripts/c12375297.lua1
Ukiyoe-P.U.N.K. Sharakusai13258285Scripts/c13258285.lua1
Re-dyce-cle85704698Scripts/c85704698.lua1
Magicolloidal Sol67694706Scripts/c67694706.lua1
Garden Rose Flora76524506Scripts/c76524506.lua1
X-Saber Bruno45462306Scripts/c45462306.lua1
Crystron Rion66938505Scripts/c66938505.lua1
Crystron Tristaros99471856Scripts/c99471856.lua1
Speedroid Gum Prize70939418Scripts/c70939418.lua1
...and 53 more

Script Examples ​

Accel Synchro Stardust Dragon (30983281) ​

Source: Scripts/c30983281.lua

lua
		e1:SetOwnerPlayer(tp)
		sg:GetFirst():RegisterEffect(e1,true)
		Duel.SynchroSummon(tp,sg:GetFirst(),nil)
	end
end

Yummy★Snatchy (30581601) ​

Source: Scripts/c30581601.lua

lua
		Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SMATERIAL)
		local tg=mg:SelectSubGroup(tp,s.syncheck,false,2,#mg,tp,sc)
		Duel.SynchroSummon(tp,sc,nil,tg,#tg-1,#tg-1)
	end
end

Supreme King Dragon Lightwurm (41908872) ​

Source: Scripts/c41908872.lua

lua
			local sc=g:Select(tp,1,1,nil):GetFirst()
			if g1:IsContains(sc) then
				Duel.SynchroSummon(tp,sc,nil)
			else
				Duel.XyzSummon(tp,sc,nil)