Skip to content

Card.IsSummonableCard ​

Signature ​

lua
Card.IsSummonableCard(Card c) -> bool

Description ​

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 ​

  • c Card

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.
CardIDScriptDetected Calls
Union Activation38527680Scripts/c38527680.lua1
Quick Summon10086952Scripts/c10086952.lua1
Vernusylph of the Awakening Forests36745317Scripts/c36745317.lua1
Max Metalmorph89812483Scripts/c89812483.lua1
The Chaotic Phantasmal Sacred Beasts7894706Scripts/c7894706.lua1
Elemental HERO Flame Wingman - Infernal Rage93347961Scripts/c93347961.lua1
Flame Coating Metalmorph91152455Scripts/c91152455.lua1
Storm-Bane Dragon Destorbim94641726Scripts/c94641726.lua1
Golden-Eyes Idol78642798Scripts/c78642798.lua1
Chaos Space99266988Scripts/c99266988.lua2
Crimson Blade Dragon3294539Scripts/c3294539.lua1
Principug11496832Scripts/c11496832.lua2
Cyber Emergency60600126Scripts/c60600126.lua1
Zoodiac Broadbull85115440Scripts/c85115440.lua1
Drytron Nova94187078Scripts/c94187078.lua1
Sacred Beasts Released38776201Scripts/c38776201.lua1
G Golem Stubborn Menhir97053215Scripts/c97053215.lua1
Cartoon Shade55363218Scripts/c55363218.lua2
A Wild Monster Appears!23587624Scripts/c23587624.lua1
Mausoleum of the Emperor80921533Scripts/c80921533.lua2
Monster Gate43040603Scripts/c43040603.lua2
Reasoning58577036Scripts/c58577036.lua2
Tribute Doll2903036Scripts/c2903036.lua1
Hypernova Burst90384300Scripts/c90384300.lua1
...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)
end

Vernusylph 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)