Card.GetMutualLinkedGroup
Signature
lua
Card.GetMutualLinkedGroup(Card c) -> GroupDescription
Returns the Group of cards mutually linked with c.
Parameters
cCard
Returns
Group
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3473
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 3 indexed script(s).
- Search this function in the Script Explorer with
Card.GetMutualLinkedGroup.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Zero Extra Link | 60162470 | Scripts/c60162470.lua | 1 |
| V-LAN Hydra | 13536606 | Scripts/c13536606.lua | 1 |
| Akashic Magician | 28776350 | Scripts/c28776350.lua | 2 |
Script Examples
Zero Extra Link (60162470)
Source: Scripts/c60162470.lua
lua
local lg=Duel.GetMatchingGroup(c60162470.lkfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
for tc in aux.Next(lg) do
tg:Merge(tc:GetMutualLinkedGroup())
end
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c60162470.filter(chkc,tg) endV-LAN Hydra (13536606)
Source: Scripts/c13536606.lua
lua
function c13536606.tktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
local lg=c:GetMutualLinkedGroup()
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c13536606.rfilter(chkc,tp,lg) end
if chk==0 then return Duel.IsExistingTarget(c13536606.rfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp,lg)Akashic Magician (28776350)
Source: Scripts/c28776350.lua
lua
if chk==0 then
local c=e:GetHandler()
local lg=c:GetMutualLinkedGroup()
local ct=lg:GetSum(Card.GetLink)
if ct<=0 or not Duel.IsPlayerCanDiscardDeck(tp,ct) then return false end