Card.IsSummonableCard
Signature
lua
Card.IsSummonableCard(Card c) -> boolDescription
Checks whether c's card data represents a monster that is allowed to be Normal Summoned or Set by card kind. This rejects non-monsters, Extra Deck monsters, Ritual Monsters, Special Summon-only monsters, and Tokens. It does not check current costs, Summon count, locations, or player restrictions.
Parameters
cCard
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3627
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 29 indexed script(s).
- Search this function in the Script Explorer with
Card.IsSummonableCard.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Union Activation | 38527680 | Scripts/c38527680.lua | 1 |
| Quick Summon | 10086952 | Scripts/c10086952.lua | 1 |
| Vernusylph of the Awakening Forests | 36745317 | Scripts/c36745317.lua | 1 |
| Max Metalmorph | 89812483 | Scripts/c89812483.lua | 1 |
| The Chaotic Phantasmal Sacred Beasts | 7894706 | Scripts/c7894706.lua | 1 |
| Elemental HERO Flame Wingman - Infernal Rage | 93347961 | Scripts/c93347961.lua | 1 |
| Flame Coating Metalmorph | 91152455 | Scripts/c91152455.lua | 1 |
| Storm-Bane Dragon Destorbim | 94641726 | Scripts/c94641726.lua | 1 |
| Golden-Eyes Idol | 78642798 | Scripts/c78642798.lua | 1 |
| Chaos Space | 99266988 | Scripts/c99266988.lua | 2 |
| Crimson Blade Dragon | 3294539 | Scripts/c3294539.lua | 1 |
| Principug | 11496832 | Scripts/c11496832.lua | 2 |
| Cyber Emergency | 60600126 | Scripts/c60600126.lua | 1 |
| Zoodiac Broadbull | 85115440 | Scripts/c85115440.lua | 1 |
| Drytron Nova | 94187078 | Scripts/c94187078.lua | 1 |
| Sacred Beasts Released | 38776201 | Scripts/c38776201.lua | 1 |
| G Golem Stubborn Menhir | 97053215 | Scripts/c97053215.lua | 1 |
| Cartoon Shade | 55363218 | Scripts/c55363218.lua | 2 |
| A Wild Monster Appears! | 23587624 | Scripts/c23587624.lua | 1 |
| Mausoleum of the Emperor | 80921533 | Scripts/c80921533.lua | 2 |
| Monster Gate | 43040603 | Scripts/c43040603.lua | 2 |
| Reasoning | 58577036 | Scripts/c58577036.lua | 2 |
| Tribute Doll | 2903036 | Scripts/c2903036.lua | 1 |
| Hypernova Burst | 90384300 | Scripts/c90384300.lua | 1 |
| ...and 5 more |
Script Examples
Union Activation (38527680)
Source: Scripts/c38527680.lua
lua
function s.thfilter2(c,e,tp)
local minc,maxc=c:GetTributeRequirement()
return c:IsAttackAbove(3000) and c:IsSummonable(true,nil) and c:IsSummonableCard() and c:IsAbleToHand() and s.sunthfilter(c,e,tp,minc,maxc) and Duel.IsPlayerCanSummon(tp,SUMMON_TYPE_ADVANCE,c)
end
function s.sunthfilter(c,e,tp,minc,maxc)Quick Summon (10086952)
Source: Scripts/c10086952.lua
lua
local minc,maxc=c:GetTributeRequirement()
return c:IsLevelAbove(5) and (c:IsSummonable(true,nil) or c:IsMSetable(true,nil))
and c:IsSummonableCard() and c:IsAbleToHand() and s.sunthfilter(c,e,tp,minc,maxc)
and Duel.IsPlayerCanSummon(tp,SUMMON_TYPE_ADVANCE,c)
endVernusylph of the Awakening Forests (36745317)
Source: Scripts/c36745317.lua
lua
end
function c36745317.tgfilter(c)
return c:IsAttribute(ATTRIBUTE_EARTH) and c:IsSummonableCard() and c:IsAbleToGrave()
end
function c36745317.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)