Card.IsLinkSummonable
Signature
lua
Card.IsLinkSummonable(Card c, Group|nil materials, [Card|nil lcard], [int minc], [int maxc]) -> boolDescription
Checks whether Link Monster c can be Link Summoned by the current reason player. Optional materials, lcard, minc, and maxc restrict the Link Material pool and material count used by the core check. Use this in effect target and operation branches before calling Duel.LinkSummon. minc and maxc default to 0 when omitted, leaving the registered procedure's own count rules in control. The core rejects this check during the Damage Step.
Parameters
cCard- Link Monster being tested.materialsGroup|nil- Optional temporary material pool. nil lets the registered procedure collect its normal pool.lcardCard|niloptional - Optional fixed material that the final selected group must include.mincintoptional - Runtime minimum material-card count. default: 0maxcintoptional - Runtime maximum material-card count. default: 0
Returns
bool- true if c has a legal Link Summon under the supplied temporary limits.
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3633
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 21 indexed script(s).
- Search this function in the Script Explorer with
Card.IsLinkSummonable.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| W:P Fancy Ball | 4993187 | Scripts/c4993187.lua | 1 |
| Trickstar Diffusion | 63181559 | Scripts/c63181559.lua | 1 |
| Link into the VRAINS! | 28827503 | Scripts/c28827503.lua | 1 |
| Angello Vaalmonica | 3048768 | Scripts/c3048768.lua | 1 |
| Code of Soul | 74652966 | Scripts/c74652966.lua | 1 |
| Yum☆Yum☆Yummys | 56870908 | Scripts/c56870908.lua | 1 |
| Salamangreat Burning Shell | 28534130 | Scripts/c28534130.lua | 1 |
| Unchained Soul of Rage | 67680512 | Scripts/c67680512.lua | 1 |
| Tri-Brigade Revolt | 40975243 | Scripts/c40975243.lua | 1 |
| Sky Striker Special Maneuver - Lemnisgate! | 34433770 | Scripts/c34433770.lua | 1 |
| Purification Power Patron | 31822037 | Scripts/c31822037.lua | 2 |
| Unchained Syncretism | 93898740 | Scripts/c93898740.lua | 1 |
| Unchained Soul of Anguish | 93084621 | Scripts/c93084621.lua | 1 |
| Unchained Soul of Disaster | 89019964 | Scripts/c89019964.lua | 1 |
| Outburst Dragon | 87263576 | Scripts/c87263576.lua | 1 |
| I:P Masquerena | 65741786 | Scripts/c65741786.lua | 2 |
| Basiltrice, Familiar of the Evil Eye | 65351555 | Scripts/c65351555.lua | 1 |
| Vaalmonica Creation | 98167225 | Scripts/c98167225.lua | 1 |
| Prank-Kids Plan | 15447747 | Scripts/c15447747.lua | 1 |
| Evil★Twin Challenge | 98360333 | Scripts/c98360333.lua | 1 |
| World Legacy Awakens | 12989604 | Scripts/c12989604.lua | 1 |
Script Examples
W:P Fancy Ball (4993187)
Source: Scripts/c4993187.lua
lua
end
function s.lkfilter(c)
return c:IsLinkSummonable(nil)
end
function s.mattg(e,c)Trickstar Diffusion (63181559)
Source: Scripts/c63181559.lua
lua
end
function s.filter(c)
return c:IsLinkSummonable(nil) and c:IsSetCard(0xfb)
end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)Link into the VRAINS! (28827503)
Source: Scripts/c28827503.lua
lua
end
function c28827503.lkfilter(c,mc)
return c:IsLinkSummonable(nil,mc)
end
function c28827503.spfilter(c,e,tp)