Skip to content

Card.IsLinkState ​

Signature ​

lua
Card.IsLinkState(Card c) -> bool

Description ​

Checks whether c is currently in linked state.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

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

Used By ​

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

  • Detected in 14 indexed script(s).
  • Search this function in the Script Explorer with Card.IsLinkState.
CardIDScriptDetected Calls
Knightmare Gryphon65330383Scripts/c65330383.lua1
Sunseed Shadow30013902Scripts/c30013902.lua1
Longirsu, the Orcust Orchestrator76145142Scripts/c76145142.lua2
Orcustrion3134857Scripts/c3134857.lua2
Codebreaker Virus Berserker48736598Scripts/c48736598.lua1
World Legacy's Heart97648103Scripts/c97648103.lua1
Full Active Duplex4483598Scripts/c4483598.lua1
World Chalice Guardragon84899094Scripts/c84899094.lua1
SIMM Tablir67218327Scripts/c67218327.lua1
Tri-Brigade Rendezvous96378317Scripts/c96378317.lua2
Geonator Transverser52119435Scripts/c52119435.lua1
Cynet Storm42461852Scripts/c42461852.lua1
Break Off Trap Hole56526564Scripts/c56526564.lua1
Pentestag72336818Scripts/c72336818.lua1

Script Examples ​

Knightmare Gryphon (65330383) ​

Source: Scripts/c65330383.lua

lua
function c65330383.aclimit(e,re,tp)
	local tc=re:GetHandler()
	return tc:IsLocation(LOCATION_MZONE) and tc:IsSummonType(SUMMON_TYPE_SPECIAL) and not tc:IsLinkState() and re:IsActiveType(TYPE_MONSTER)
end

Sunseed Shadow (30013902) ​

Source: Scripts/c30013902.lua

lua
end
function c30013902.tgfilter(c,e,tp)
	return c:IsType(TYPE_LINK) and c:IsSetCard(0x1158,0x2158) and c:IsLinkBelow(2) and c:IsLinkState()
		and Duel.IsExistingMatchingCard(c30013902.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,c:GetCode())
end

Longirsu, the Orcust Orchestrator (76145142) ​

Source: Scripts/c76145142.lua

lua
end
function c76145142.indcon(e)
	return e:GetHandler():IsLinkState()
end
function c76145142.tdcon1(e,tp,eg,ep,ev,re,r,rp)