Card.IsSetCard
Signature
lua
Card.IsSetCard(Card c, ... int) -> boolDescription
Checks whether c belongs to any of the supplied set codes.
Parameters
cCard...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.
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)