Card.IsLinkMarker
Signature
lua
Card.IsLinkMarker(Card c, int dir) -> boolDescription
Checks whether c has Link Marker direction dir.
Parameters
cCarddirint
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3469
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.IsLinkMarker.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Cynet Circuit | 82886276 | Scripts/c82886276.lua | 8 |
| Firewall eXceed Dragon | 21065189 | Scripts/c21065189.lua | 8 |
| Knightmare Corruptor Iblee | 10158145 | Scripts/c10158145.lua | 2 |
Script Examples
Cynet Circuit (82886276)
Source: Scripts/c82886276.lua
lua
function s.get_zone(c,seq)
local zone=0
if seq<4 and c:IsLinkMarker(LINK_MARKER_LEFT) then zone=bit.replace(zone,0x1,seq+1) end
if seq>0 and seq<5 and c:IsLinkMarker(LINK_MARKER_RIGHT) then zone=bit.replace(zone,0x1,seq-1) end
if seq==5 and c:IsLinkMarker(LINK_MARKER_TOP_LEFT) then zone=bit.replace(zone,0x1,2) endFirewall eXceed Dragon (21065189)
Source: Scripts/c21065189.lua
lua
function c21065189.get_zone(c,seq)
local zone=0
if seq<4 and c:IsLinkMarker(LINK_MARKER_LEFT) then zone=bit.replace(zone,0x1,seq+1) end
if seq>0 and seq<5 and c:IsLinkMarker(LINK_MARKER_RIGHT) then zone=bit.replace(zone,0x1,seq-1) end
if seq==5 and c:IsLinkMarker(LINK_MARKER_TOP_LEFT) then zone=bit.replace(zone,0x1,2) endKnightmare Corruptor Iblee (10158145)
Source: Scripts/c10158145.lua
lua
function c10158145.get_zone(c,seq)
local zone=0
if seq<4 and c:IsLinkMarker(LINK_MARKER_LEFT) then zone=bit.replace(zone,0x1,seq+1) end
if seq>0 and seq<5 and c:IsLinkMarker(LINK_MARKER_RIGHT) then zone=bit.replace(zone,0x1,seq-1) end
return zone