Card.IsSummonable
Signature
lua
Card.IsSummonable(Card c, bool ignore_count, [Effect|nil e], [int min], [int zone]) -> boolDescription
Checks whether c can be Normal Summoned, excluding Normal Summon/Set. If e is not nil, checks whether c can be Normal Summoned by that effect. min is the minimum number of Tributes, and zone restricts the zone it must be Summoned to.
Parameters
cCardignore_countbooleEffect|niloptionalminintoptional - default: 0zoneintoptional - default: 0x1f
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3634
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 100 indexed script(s).
- Search this function in the Script Explorer with
Card.IsSummonable.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Ehther the Heavenly Monarch | 96570609 | Scripts/c96570609.lua | 2 |
| Aiwass, Divine Spirit of the Law | 84288367 | Scripts/c84288367.lua | 1 |
| Clown Crew Soiree Operations | 70058649 | Scripts/c70058649.lua | 1 |
| Tails of the Fairy Tails | 82119326 | Scripts/c82119326.lua | 1 |
| Union Activation | 38527680 | Scripts/c38527680.lua | 2 |
| Kuribeh | 34419588 | Scripts/c34419588.lua | 1 |
| Ojamatch | 38395123 | Scripts/c38395123.lua | 1 |
| Quick Summon | 10086952 | Scripts/c10086952.lua | 8 |
| Clown Crew Biancaviso | 82159583 | Scripts/c82159583.lua | 2 |
| Argostars - Giantslaying | 30964246 | Scripts/c30964246.lua | 1 |
| Rahamu, Envoy of the Sacred Tome | 53904087 | Scripts/c53904087.lua | 1 |
| Ritual Beast Ulti-Kimunfalcos | 58811192 | Scripts/c58811192.lua | 1 |
| Doodle Beast - Tyranno | 67725394 | Scripts/c67725394.lua | 2 |
| Primite Imperial Dragon | 81418467 | Scripts/c81418467.lua | 1 |
| Bahalutiya, the Grand Radiance | 53318263 | Scripts/c53318263.lua | 2 |
| Hi-Speedroid Rubber Band Shooter | 72813401 | Scripts/c72813401.lua | 1 |
| Floowandereeze & Empen | 80611581 | Scripts/c80611581.lua | 2 |
| Exosister Betrayal | 52335937 | Scripts/c52335937.lua | 1 |
| Gizmek Yata, the Gleaming Vanguard | 13224603 | Scripts/c13224603.lua | 1 |
| Repair Genex Controller | 8173184 | Scripts/c8173184.lua | 1 |
| Electrode Beast Cation | 21291696 | Scripts/c21291696.lua | 1 |
| Miasma Necromancer | 69176851 | Scripts/c69176851.lua | 1 |
| Fairy Tale Tails | 91957038 | Scripts/c91957038.lua | 2 |
| Gagaga Illusion | 73496100 | Scripts/c73496100.lua | 1 |
| ...and 76 more |
Script Examples
Ehther the Heavenly Monarch (96570609)
Source: Scripts/c96570609.lua
lua
function c96570609.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsSummonable(true,nil,1) or c:IsMSetable(true,nil,1) end
Duel.SetOperationInfo(0,CATEGORY_SUMMON,c,1,0,0)
endAiwass, Divine Spirit of the Law (84288367)
Source: Scripts/c84288367.lua
lua
end
function s.sumfilter(c)
return c:IsRace(RACE_SPELLCASTER) and c:IsSummonable(true,nil)
end
function s.thop(e,tp,eg,ep,ev,re,r,rp)Clown Crew Soiree Operations (70058649)
Source: Scripts/c70058649.lua
lua
end
function s.sumfilter(c)
return c:IsSetCard(0x1dc) and c:IsSummonable(true,nil,1)
end
function s.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)