Skip to content

Card.GetMutualLinkedGroupCount ​

Signature ​

lua
Card.GetMutualLinkedGroupCount(Card c) -> int

Description ​

Returns the number of cards mutually linked with c.

Parameters ​

  • c Card

Returns ​

  • int

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 16 indexed script(s).
  • Search this function in the Script Explorer with Card.GetMutualLinkedGroupCount.
CardIDScriptDetected Calls
Worldsea Dragon Zealantis45112597Scripts/c45112597.lua1
Knightmare Unicorn38342335Scripts/c38342335.lua2
V-LAN Hydra13536606Scripts/c13536606.lua1
G Golem Invalid Dolmen24151924Scripts/c24151924.lua2
Firewall Dragon5043010Scripts/c5043010.lua1
Knightmare Cerberus75452921Scripts/c75452921.lua2
Knightmare Goblin39064822Scripts/c39064822.lua2
Knightmare Phoenix2857636Scripts/c2857636.lua2
Knightmare Mermaid3679218Scripts/c3679218.lua2
Tri-Gate Wizard32617464Scripts/c32617464.lua2
Appliancer Laundry Dragon77102944Scripts/c77102944.lua2
Binary Blader80088625Scripts/c80088625.lua2
Appliancer Propelion81769387Scripts/c81769387.lua2
World Legacy's Nightmare25163979Scripts/c25163979.lua1
World Legacy Struggle58374719Scripts/c58374719.lua1
World Legacy's Sorrow85763457Scripts/c85763457.lua1

Script Examples ​

Worldsea Dragon Zealantis (45112597) ​

Source: Scripts/c45112597.lua

lua
end
function c45112597.filter(c)
	return c:GetMutualLinkedGroupCount()>0
end
function c45112597.destg(e,tp,eg,ep,ev,re,r,rp,chk)

Knightmare Unicorn (38342335) ​

Source: Scripts/c38342335.lua

lua
	local g=Duel.SelectTarget(tp,Card.IsAbleToDeck,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
	Duel.SetOperationInfo(0,CATEGORY_TODECK,g,1,0,0)
	if e:GetHandler():GetMutualLinkedGroupCount()>0 then
		e:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW)
		e:SetLabel(1)

V-LAN Hydra (13536606) ​

Source: Scripts/c13536606.lua

lua
end
function c13536606.atkval(e,c)
	return c:GetMutualLinkedGroupCount()*300
end
function c13536606.rfilter(c,tp,g)