Skip to content

Card.GetSynchroLevel ​

Signature ​

lua
Card.GetSynchroLevel(Card c, Card scard) -> int

Description ​

Returns the Synchro Level value c contributes for Synchro Monster scard.

Parameters ​

  • c Card
  • scard Card

Returns ​

  • int

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 9 indexed script(s).
  • Search this function in the Script Explorer with Card.GetSynchroLevel.
CardIDScriptDetected Calls
Flower Cardian Peony with Butterfly57261568Scripts/c57261568.lua1
Flower Cardian Willow with Calligrapher89818984Scripts/c89818984.lua1
Flower Cardian Moonflowerviewing33541430Scripts/c33541430.lua1
Cupid Pitch21915012Scripts/c21915012.lua2
R-Genex Turing61052897Scripts/c61052897.lua2
T.G. Cyber Magician64910482Scripts/c64910482.lua1
Tatsunoko55863245Scripts/c55863245.lua1
Tatsunecro3096468Scripts/c3096468.lua1
Vagnawa the Moon-Eating Dragon9839115Scripts/c9839115.lua2

Script Examples ​

Flower Cardian Peony with Butterfly (57261568) ​

Source: Scripts/c57261568.lua

lua
function c57261568.syngoal(g,tp,lv,syncard,minc,ct)
	return ct>=minc and Duel.GetLocationCountFromEx(tp,tp,g,syncard)>0
		and (g:CheckWithSumEqual(Card.GetSynchroLevel,lv,ct,ct,syncard)
			or g:CheckWithSumEqual(c57261568.cardiansynlevel,lv,ct,ct,syncard))
		and aux.MustMaterialCheck(g,tp,EFFECT_MUST_BE_SMATERIAL)

Flower Cardian Willow with Calligrapher (89818984) ​

Source: Scripts/c89818984.lua

lua
function c89818984.syngoal(g,tp,lv,syncard,minc,ct)
	return ct>=minc and Duel.GetLocationCountFromEx(tp,tp,g,syncard)>0
		and (g:CheckWithSumEqual(Card.GetSynchroLevel,lv,ct,ct,syncard)
			or g:CheckWithSumEqual(c89818984.cardiansynlevel,lv,ct,ct,syncard))
		and aux.MustMaterialCheck(g,tp,EFFECT_MUST_BE_SMATERIAL)

Flower Cardian Moonflowerviewing (33541430) ​

Source: Scripts/c33541430.lua

lua
function c33541430.syngoal(g,tp,lv,syncard,minc,ct)
	return ct>=minc and Duel.GetLocationCountFromEx(tp,tp,g,syncard)>0
		and (g:CheckWithSumEqual(Card.GetSynchroLevel,lv,ct,ct,syncard)
			or g:CheckWithSumEqual(c33541430.cardiansynlevel,lv,ct,ct,syncard))
		and aux.MustMaterialCheck(g,tp,EFFECT_MUST_BE_SMATERIAL)