Card.GetHandSynchro
Signature
lua
Card.GetHandSynchro(Card c) -> Effect|nil,function|nil,int|nil,int|nilDescription
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
cCard
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.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Accel Synchro Stardust Dragon | 30983281 | Scripts/c30983281.lua | 1 |
| Yummy★Snatchy | 30581601 | Scripts/c30581601.lua | 2 |
| Saiba the Soldier Swordsmith | 36608728 | Scripts/c36608728.lua | 2 |
| Naturia Blessing | 34813545 | Scripts/c34813545.lua | 2 |
| Stand Up Centur-Ion! | 41371602 | Scripts/c41371602.lua | 2 |
| Re-dyce-cle | 85704698 | Scripts/c85704698.lua | 2 |
| Etude of the Branded | 45675980 | Scripts/c45675980.lua | 2 |
| Yang Zing Unleashed | 77783947 | Scripts/c77783947.lua | 2 |
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) endYummy★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) endSaiba 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