Card.GetSynchroLevel
Signature
lua
Card.GetSynchroLevel(Card c, Card scard) -> intDescription
Returns the Synchro Level value c contributes for Synchro Monster scard.
Parameters
cCardscardCard
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.
| 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 |
| Cupid Pitch | 21915012 | Scripts/c21915012.lua | 2 |
| R-Genex Turing | 61052897 | Scripts/c61052897.lua | 2 |
| T.G. Cyber Magician | 64910482 | Scripts/c64910482.lua | 1 |
| Tatsunoko | 55863245 | Scripts/c55863245.lua | 1 |
| Tatsunecro | 3096468 | Scripts/c3096468.lua | 1 |
| Vagnawa the Moon-Eating Dragon | 9839115 | Scripts/c9839115.lua | 2 |
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)