Skip to content

Card.GetLinkedGroupCount ​

Signature ​

lua
Card.GetLinkedGroupCount(Card c) -> int

Description ​

Returns the number of cards in zones linked by c.

Parameters ​

  • c Card

Returns ​

  • int

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 12 indexed script(s).
  • Search this function in the Script Explorer with Card.GetLinkedGroupCount.
CardIDScriptDetected Calls
Gergonne's End59490397Scripts/c59490397.lua2
Decode Talker Heatsoul61245672Scripts/c61245672.lua1
Mekk-Knight Spectrum Supreme38502358Scripts/c38502358.lua1
Decode Destruction33062423Scripts/c33062423.lua2
Elphase60292055Scripts/c60292055.lua1
Trickstar Bella Madonna41302052Scripts/c41302052.lua2
Decode Talker1861629Scripts/c1861629.lua1
Decode Talker Extended30822527Scripts/c30822527.lua1
Trickstar Black Catbat94626871Scripts/c94626871.lua1
Gorgon of Zilofthonia12067160Scripts/c12067160.lua1
Gouki The Blade Ogre95515058Scripts/c95515058.lua1
Code Talker53413628Scripts/c53413628.lua2

Script Examples ​

Gergonne's End (59490397) ​

Source: Scripts/c59490397.lua

lua
function c59490397.descon(e,tp,eg,ep,ev,re,r,rp)
	local tc=e:GetHandler():GetEquipTarget()
	return tc and tc:GetLinkedGroupCount()==tc:GetLink()
end
function c59490397.destg(e,tp,eg,ep,ev,re,r,rp,chk)

Decode Talker Heatsoul (61245672) ​

Source: Scripts/c61245672.lua

lua
end
function c61245672.atkval(e,c)
	return c:GetLinkedGroupCount()*500
end
function c61245672.drcost(e,tp,eg,ep,ev,re,r,rp,chk)

Mekk-Knight Spectrum Supreme (38502358) ​

Source: Scripts/c38502358.lua

lua
function c38502358.indcon(e)
	local c=e:GetHandler()
	return c:GetSequence()>4 and c:IsType(TYPE_LINK) and c:GetLinkedGroupCount()==0
end
function c38502358.spcfilter(c,g,tp)