Skip to content

Card.IsCanBeSynchroMaterial ​

Signature ​

lua
Card.IsCanBeSynchroMaterial(Card c, [Card scard], [Card tuner]) -> bool

Description ​

Checks whether c can be used as Synchro Material for scard, with tuner supplied when the core needs the paired Tuner.

Parameters ​

  • c Card
  • scard Card optional
  • tuner Card optional

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.
CardIDScriptDetected Calls
Flower Cardian Peony with Butterfly57261568Scripts/c57261568.lua1
Flower Cardian Willow with Calligrapher89818984Scripts/c89818984.lua1
Flower Cardian Moonflowerviewing33541430Scripts/c33541430.lua1
R-Genex Turing61052897Scripts/c61052897.lua1
Melffy Pinny34800281Scripts/c34800281.lua1
Performapal Odd-Eyes Synchron82224646Scripts/c82224646.lua1
T.G. Cyber Magician64910482Scripts/c64910482.lua2
Speedroid Maliciousmagnet62899696Scripts/c62899696.lua1
Tatsunoko55863245Scripts/c55863245.lua1
Turbo-Tainted Hot Rod GT1916769305Scripts/c16769305.lua1
Tatsunecro3096468Scripts/c3096468.lua1
Synchro Material14507213Scripts/c14507213.lua1

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)