Skip to content

Card.IsLinkBelow ​

Signature ​

lua
Card.IsLinkBelow(Card c, int link) -> bool

Description ​

Checks whether c has a nonzero Link Rating that is less than or equal to link.

Parameters ​

  • c Card
  • link int

Returns ​

  • bool

Source ​

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

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.IsLinkBelow.
CardIDScriptDetected Calls
W:P Fancy Ball4993187Scripts/c4993187.lua2
Borrelshroud Dragon66452432Scripts/c66452432.lua1
Marincess Wonder Heart94207108Scripts/c94207108.lua1
Quadborrel Dragon29296344Scripts/c29296344.lua1
V-LAN Hydra13536606Scripts/c13536606.lua1
Amphibious Swarmship Amblowhale20665527Scripts/c20665527.lua2
Decode Talker Heatsoul61245672Scripts/c61245672.lua1
Triple Burst Dragon49725936Scripts/c49725936.lua1
Transcode Talker46947713Scripts/c46947713.lua1
Sunseed Shadow30013902Scripts/c30013902.lua1
Protectcode Talker58036229Scripts/c58036229.lua1
Primite Dragon Nether Berzelius26462013Scripts/c26462013.lua1
Miniborrel Dragon73341839Scripts/c73341839.lua1
Trickstar Foxglove Witch86750474Scripts/c86750474.lua1

Script Examples ​

W:P Fancy Ball (4993187) ​

Source: Scripts/c4993187.lua

lua
end
function s.mattg(e,c)
	return c:IsFaceup() and c:IsLinkBelow(2)
end
function s.lktg(e,tp,eg,ep,ev,re,r,rp,chk)

Borrelshroud Dragon (66452432) ​

Source: Scripts/c66452432.lua

lua
end
function s.spfilter(c,e,tp)
	return c:IsSetCard(0x10f) and c:IsType(TYPE_LINK) and c:IsLinkBelow(4)
		and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end

Marincess Wonder Heart (94207108) ​

Source: Scripts/c94207108.lua

lua
end
function c94207108.spfilter2(c,e,tp)
	return c:IsSetCard(0x12b) and c:IsLinkBelow(3) and c:IsType(TYPE_LINK) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c94207108.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)