Skip to content

Card.IsLinkType ​

Signature ​

lua
Card.IsLinkType(Card c, int type) -> bool

Description ​

Checks whether c's type while used as Link Material contains type.

Parameters ​

  • c Card
  • type int

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.
CardIDScriptDetected Calls
Levia-Dragoon - Daedalus78579058Scripts/c78579058.lua1
Azure Ocean Dragon Lord - Neo-Daedalus Rage41570943Scripts/c41570943.lua1
W:P Fancy Ball4993187Scripts/c4993187.lua1
Duel Link Dragon, the Duel Dragon60025883Scripts/c60025883.lua1
Beyond the Pendulum22125101Scripts/c22125101.lua2
Enlilgirsu, the Orcust Mekk-Knight74820316Scripts/c74820316.lua1
Neo Super Quantal Mech King Blaster Magna95493471Scripts/c95493471.lua1
Borrelcode Dragon67288539Scripts/c67288539.lua1
Borrelshroud Dragon66452432Scripts/c66452432.lua1
Worldsea Dragon Zealantis45112597Scripts/c45112597.lua1
Crystron Halqifibrax Prism65400671Scripts/c65400671.lua1
Salamangreat Raging Phoenix57134592Scripts/c57134592.lua1
Salamangreat Sanctuary1295111Scripts/c1295111.lua1
Proxy F Magician12450071Scripts/c12450071.lua1
Salamangreat Sunlight Wolf87871125Scripts/c87871125.lua1
Rahamu, Envoy of the Sacred Tome53904087Scripts/c53904087.lua1
S-Force Justify35334193Scripts/c35334193.lua1
Code of Soul74652966Scripts/c74652966.lua1
Allied Code Talker @Ignister39138610Scripts/c39138610.lua1
Accesscode Talker86066372Scripts/c86066372.lua1
Borreload Dragon31833038Scripts/c31833038.lua1
Firewall Dragon Singularity21637210Scripts/c21637210.lua1
Shaddoll Construct86938484Scripts/c86938484.lua1
Salamangreat Pyro Phoenix31313405Scripts/c31313405.lua1
...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 end

Azure 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 end

W: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