Skip to content

Card.GetHandSynchro ​

Signature ​

lua
Card.GetHandSynchro(Card c) -> Effect|nil,function|nil,int|nil,int|nil

Description ​

Returns the hand-Synchro enabling effect on c, its target function, and the min/max hand-material counts. Only Monster Zone cards are checked. EFFECT_HAND_SYNCHRO has priority, then EFFECT_TUNER_MATERIAL_LIMIT with LOCATION_HAND.

Parameters ​

  • c Card

Returns ​

  • Effect|nil - Hand Synchro enabling effect.
  • function|nil - Effect target function.
  • int|nil - Minimum hand-material count.
  • int|nil - Maximum hand-material count.

Source ​

  • D:\Programs\GitHub\ygopro-core\libcard.cpp:3602

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 8 indexed script(s).
  • Search this function in the Script Explorer with Card.GetHandSynchro.
CardIDScriptDetected Calls
Accel Synchro Stardust Dragon30983281Scripts/c30983281.lua1
Yummy★Snatchy30581601Scripts/c30581601.lua2
Saiba the Soldier Swordsmith36608728Scripts/c36608728.lua2
Naturia Blessing34813545Scripts/c34813545.lua2
Stand Up Centur-Ion!41371602Scripts/c41371602.lua2
Re-dyce-cle85704698Scripts/c85704698.lua2
Etude of the Branded45675980Scripts/c45675980.lua2
Yang Zing Unleashed77783947Scripts/c77783947.lua2

Script Examples ​

Accel Synchro Stardust Dragon (30983281) ​

Source: Scripts/c30983281.lua

lua
	if not (c:IsCode(44508094) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_SYNCHRO,tp,false,false)) then return false end
	local mg=Duel.GetSynchroMaterial(tp)
	if mg:IsExists(Card.GetHandSynchro,1,nil) then
		local mg2=Duel.GetMatchingGroup(nil,tp,LOCATION_HAND,0,nil)
		if mg2:GetCount()>0 then mg:Merge(mg2) end

Yummy★Snatchy (30581601) ​

Source: Scripts/c30581601.lua

lua
		if not Duel.IsPlayerCanSpecialSummon(tp) then return false end
		local mg=Duel.GetSynchroMaterial(tp)
		if mg:IsExists(Card.GetHandSynchro,1,nil) then
			local mg2=Duel.GetMatchingGroup(nil,tp,LOCATION_HAND,0,nil)
			if mg2:GetCount()>0 then mg:Merge(mg2) end

Saiba the Soldier Swordsmith (36608728) ​

Source: Scripts/c36608728.lua

lua
		if not Duel.IsPlayerCanSpecialSummon(tp) then return false end
		local mg=Duel.GetSynchroMaterial(tp)
		if mg:IsExists(Card.GetHandSynchro,1,nil) then
			local mg2=Duel.GetMatchingGroup(nil,tp,LOCATION_HAND,0,nil)
			if mg2:GetCount()>0 then mg:Merge(mg2) end