Card.IsLinkSetCard
Signature
lua
Card.IsLinkSetCard(Card c, int setcode1, [int setcode2], [... int]) -> boolDescription
Checks whether c can be treated as any supplied setcode while used as Link Material. Nil setcode arguments are skipped.
Parameters
cCardsetcode1intsetcode2intoptional...intoptional
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3447
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 132 indexed script(s).
- Search this function in the Script Explorer with
Card.IsLinkSetCard.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Radiant Typhoon Varuroon, the Marine Eidolon | 39341885 | Scripts/c39341885.lua | 1 |
| Gouki Sheik Ogre | 7382007 | Scripts/c7382007.lua | 1 |
| Prank-Kids Bow-Wow-Bark | 43886072 | Scripts/c43886072.lua | 1 |
| Gem-Knight Phantom Quartz | 24484270 | Scripts/c24484270.lua | 1 |
| The Weather Painter Moonbow | 95515518 | Scripts/c95515518.lua | 1 |
| Enlilgirsu, the Orcust Mekk-Knight | 74820316 | Scripts/c74820316.lua | 1 |
| Prank-Kids Dodo-Doodle-Doo | 17382973 | Scripts/c17382973.lua | 1 |
| R.B. Shepherd's Crook | 80071619 | Scripts/c80071619.lua | 1 |
| Neo Super Quantal Mech King Blaster Magna | 95493471 | Scripts/c95493471.lua | 1 |
| Overburst Dragon | 15627227 | Scripts/c15627227.lua | 1 |
| Unchained Firelord of Yama | 94014327 | Scripts/c94014327.lua | 1 |
| Altergeist Memorygant | 23790299 | Scripts/c23790299.lua | 1 |
| Ritual Beast Ulti-Kimunfalcos | 58811192 | Scripts/c58811192.lua | 1 |
| X-Krawler Qualiark | 92781606 | Scripts/c92781606.lua | 1 |
| S-Force Justify | 35334193 | Scripts/c35334193.lua | 1 |
| Wind-Up Zenmaintenance | 1735088 | Scripts/c1735088.lua | 1 |
| Gouki The Master Ogre | 30286474 | Scripts/c30286474.lua | 1 |
| D/D/D Abyss King Gilgamesh | 9024198 | Scripts/c9024198.lua | 1 |
| Sky Striker Ace = Zero | 76072561 | Scripts/c76072561.lua | 1 |
| Paleozoic Cambroraster | 36346532 | Scripts/c36346532.lua | 1 |
| Tri-Brigade Bearbrumm the Rampant Rampager | 47163170 | Scripts/c47163170.lua | 1 |
| Marincess Coral Triangle | 84546257 | Scripts/c84546257.lua | 1 |
| Zerrziel, Ruler of the Evil Eyed | 17739335 | Scripts/c17739335.lua | 1 |
| Battle Shogun of the Six Samurai | 74752631 | Scripts/c74752631.lua | 1 |
| ...and 108 more |
Script Examples
Radiant Typhoon Varuroon, the Marine Eidolon (39341885)
Source: Scripts/c39341885.lua
lua
function s.initial_effect(c)
aux.AddCodeList(c,5318639)
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x1d1),2,2)
c:EnableReviveLimit()
--to handGouki Sheik Ogre (7382007)
Source: Scripts/c7382007.lua
lua
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0xfc),2,2)
--special summon
local e1=Effect.CreateEffect(c)Prank-Kids Bow-Wow-Bark (43886072)
Source: Scripts/c43886072.lua
lua
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x120),2,2)
--atk gain
local e1=Effect.CreateEffect(c)