Skip to content

Card.IsSetCard ​

Signature ​

lua
Card.IsSetCard(Card c, ... int) -> bool

Description ​

Checks whether c belongs to any of the supplied set codes.

Parameters ​

  • c Card
  • ... int

Returns ​

  • bool

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 5510 indexed script(s).
  • Search this function in the Script Explorer with Card.IsSetCard.
CardIDScriptDetected Calls
Artmage Non-Finito74631897Scripts/c74631897.lua1
Lady's Dragonmaid48658295Scripts/c48658295.lua2
Eternal Favorite87532344Scripts/c87532344.lua1
Astrograph Sorcerer76794549Scripts/c76794549.lua2
Spellbook of the Grand Circle11911336Scripts/c11911336.lua1
Accel Synchro Stardust Dragon30983281Scripts/c30983281.lua1
Melffy Playtime Surprise58036097Scripts/c58036097.lua3
Ashtraja Susanoo17020474Scripts/c17020474.lua1
Deftero Enneacraft - "alazoneIA"92171126Scripts/c92171126.lua2
D/D/D Alfred the Divine Sage King11852093Scripts/c11852093.lua3
El Shaddoll Apkallone50907446Scripts/c50907446.lua1
Mementotlan Fusion66518509Scripts/c66518509.lua2
Meteoroa Drytron24166324Scripts/c24166324.lua3
Gem-Knight Dispersion24220368Scripts/c24220368.lua3
Invoked Sorath43989315Scripts/c43989315.lua1
Performage Cup Tricker6812770Scripts/c6812770.lua2
Ehther the Heavenly Monarch96570609Scripts/c96570609.lua2
Ghostrick Renovation61818176Scripts/c61818176.lua3
Pere-Zenet Em Heru46273941Scripts/c46273941.lua1
Am Duazenet45151304Scripts/c45151304.lua1
Magnet Bonding65514302Scripts/c65514302.lua2
Hecahands Tartaros57809669Scripts/c57809669.lua2
Ursarctic Polari27693363Scripts/c27693363.lua1
Prank-Kids Weather Washer44509529Scripts/c44509529.lua2
...and 5486 more

Script Examples ​

Artmage Non-Finito (74631897) ​

Source: Scripts/c74631897.lua

lua
end
function s.setfilter(c)
	return c:IsSetCard(0x1cd) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable()
end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)

Lady's Dragonmaid (48658295) ​

Source: Scripts/c48658295.lua

lua
end
function s.fusfilter(c)
	return c:IsSetCard(0x133) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost()
end
function s.fselect(g)

Eternal Favorite (87532344) ​

Source: Scripts/c87532344.lua

lua
end
function s.spfilter(c,e,tp)
	return c:IsFaceupEx() and c:IsSetCard(0x1a5) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)