Card.IsLinkType
Signature
lua
Card.IsLinkType(Card c, int type) -> boolDescription
Checks whether c's type while used as Link Material contains type.
Parameters
cCardtypeint
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3541
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 137 indexed script(s).
- Search this function in the Script Explorer with
Card.IsLinkType.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Levia-Dragoon - Daedalus | 78579058 | Scripts/c78579058.lua | 1 |
| Azure Ocean Dragon Lord - Neo-Daedalus Rage | 41570943 | Scripts/c41570943.lua | 1 |
| W:P Fancy Ball | 4993187 | Scripts/c4993187.lua | 1 |
| Duel Link Dragon, the Duel Dragon | 60025883 | Scripts/c60025883.lua | 1 |
| Beyond the Pendulum | 22125101 | Scripts/c22125101.lua | 2 |
| Enlilgirsu, the Orcust Mekk-Knight | 74820316 | Scripts/c74820316.lua | 1 |
| Neo Super Quantal Mech King Blaster Magna | 95493471 | Scripts/c95493471.lua | 1 |
| Borrelcode Dragon | 67288539 | Scripts/c67288539.lua | 1 |
| Borrelshroud Dragon | 66452432 | Scripts/c66452432.lua | 1 |
| Worldsea Dragon Zealantis | 45112597 | Scripts/c45112597.lua | 1 |
| Crystron Halqifibrax Prism | 65400671 | Scripts/c65400671.lua | 1 |
| Salamangreat Raging Phoenix | 57134592 | Scripts/c57134592.lua | 1 |
| Salamangreat Sanctuary | 1295111 | Scripts/c1295111.lua | 1 |
| Proxy F Magician | 12450071 | Scripts/c12450071.lua | 1 |
| Salamangreat Sunlight Wolf | 87871125 | Scripts/c87871125.lua | 1 |
| Rahamu, Envoy of the Sacred Tome | 53904087 | Scripts/c53904087.lua | 1 |
| S-Force Justify | 35334193 | Scripts/c35334193.lua | 1 |
| Code of Soul | 74652966 | Scripts/c74652966.lua | 1 |
| Allied Code Talker @Ignister | 39138610 | Scripts/c39138610.lua | 1 |
| Accesscode Talker | 86066372 | Scripts/c86066372.lua | 1 |
| Borreload Dragon | 31833038 | Scripts/c31833038.lua | 1 |
| Firewall Dragon Singularity | 21637210 | Scripts/c21637210.lua | 1 |
| Shaddoll Construct | 86938484 | Scripts/c86938484.lua | 1 |
| Salamangreat Pyro Phoenix | 31313405 | Scripts/c31313405.lua | 1 |
| ...and 113 more |
Script Examples
Levia-Dragoon - Daedalus (78579058)
Source: Scripts/c78579058.lua
lua
end
function s.GetLinkCount(c)
if c:IsLinkType(TYPE_LINK) and c:GetLink()>1 then
return 1+0x10000*c:GetLink()
else return 1 endAzure Ocean Dragon Lord - Neo-Daedalus Rage (41570943)
Source: Scripts/c41570943.lua
lua
end
function s.GetLinkCount(c)
if c:IsLinkType(TYPE_LINK) and c:GetLink()>1 then
return 1+0x10000*c:GetLink()
else return 1 endW:P Fancy Ball (4993187)
Source: Scripts/c4993187.lua
lua
function s.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2)
c:EnableReviveLimit()
--disable