Card.IsCanBeSynchroMaterial
Signature
lua
Card.IsCanBeSynchroMaterial(Card c, [Card scard], [Card tuner]) -> boolDescription
Checks whether c can be used as Synchro Material for scard, with tuner supplied when the core needs the paired Tuner.
Parameters
cCardscardCardoptionaltunerCardoptional
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3695
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 12 indexed script(s).
- Search this function in the Script Explorer with
Card.IsCanBeSynchroMaterial.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Flower Cardian Peony with Butterfly | 57261568 | Scripts/c57261568.lua | 1 |
| Flower Cardian Willow with Calligrapher | 89818984 | Scripts/c89818984.lua | 1 |
| Flower Cardian Moonflowerviewing | 33541430 | Scripts/c33541430.lua | 1 |
| R-Genex Turing | 61052897 | Scripts/c61052897.lua | 1 |
| Melffy Pinny | 34800281 | Scripts/c34800281.lua | 1 |
| Performapal Odd-Eyes Synchron | 82224646 | Scripts/c82224646.lua | 1 |
| T.G. Cyber Magician | 64910482 | Scripts/c64910482.lua | 2 |
| Speedroid Maliciousmagnet | 62899696 | Scripts/c62899696.lua | 1 |
| Tatsunoko | 55863245 | Scripts/c55863245.lua | 1 |
| Turbo-Tainted Hot Rod GT19 | 16769305 | Scripts/c16769305.lua | 1 |
| Tatsunecro | 3096468 | Scripts/c3096468.lua | 1 |
| Synchro Material | 14507213 | Scripts/c14507213.lua | 1 |
Script Examples
Flower Cardian Peony with Butterfly (57261568)
Source: Scripts/c57261568.lua
lua
end
function c57261568.synfilter(c,syncard,tuner,f)
return c:IsFaceupEx() and c:IsCanBeSynchroMaterial(syncard,tuner) and (f==nil or f(c,syncard))
end
function c57261568.syncheck(c,g,mg,tp,lv,syncard,minc,maxc)Flower Cardian Willow with Calligrapher (89818984)
Source: Scripts/c89818984.lua
lua
end
function c89818984.synfilter(c,syncard,tuner,f)
return c:IsFaceupEx() and c:IsCanBeSynchroMaterial(syncard,tuner) and (f==nil or f(c,syncard))
end
function c89818984.syncheck(c,g,mg,tp,lv,syncard,minc,maxc)Flower Cardian Moonflowerviewing (33541430)
Source: Scripts/c33541430.lua
lua
end
function c33541430.synfilter(c,syncard,tuner,f)
return c:IsFaceupEx() and c:IsCanBeSynchroMaterial(syncard,tuner) and (f==nil or f(c,syncard))
end
function c33541430.syncheck(c,g,mg,tp,lv,syncard,minc,maxc)