Skip to content

Card.IsSummonType ​

Signature ​

lua
Card.IsSummonType(Card c, int sumtype) -> bool

Description ​

Checks whether c's recorded Summon type includes every flag in sumtype.

Parameters ​

  • c Card
  • sumtype int

Returns ​

  • bool

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 462 indexed script(s).
  • Search this function in the Script Explorer with Card.IsSummonType.
CardIDScriptDetected Calls
Artmage Non-Finito74631897Scripts/c74631897.lua1
Ehther the Heavenly Monarch96570609Scripts/c96570609.lua2
D/D/D/D Dimensional King Arc Crisis71398055Scripts/c71398055.lua1
D/D Count Surveyor5997110Scripts/c5997110.lua1
D/D/D/D Super-Dimensional Sovereign Emperor Zero Paradox97417863Scripts/c97417863.lua1
Kewl Tune Crackle39576656Scripts/c39576656.lua2
PSY-Framelord Zeta37192109Scripts/c37192109.lua1
DoSolfachord Coolia80776622Scripts/c80776622.lua1
Artmage Pact -Awakening-23599634Scripts/c23599634.lua1
Flowering Etoile the Melodious Magnificat83793721Scripts/c83793721.lua1
Trickstar Light Arena63492244Scripts/c63492244.lua1
Chaos Emperor, the Dragon of Armageddon4538826Scripts/c4538826.lua1
Cyberse Reminder56337500Scripts/c56337500.lua1
S:P Little Knight29301450Scripts/c29301450.lua1
Clock Lizard51476410Scripts/c51476410.lua1
Clown Crew Soiree Operations70058649Scripts/c70058649.lua1
Performapal U Go Golem73511233Scripts/c73511233.lua2
Lunalight Masquerade2344618Scripts/c2344618.lua1
Red Nova Dragon - Burning Soul65541655Scripts/c65541655.lua1
The Weather Painter Moonbow95515518Scripts/c95515518.lua2
Beyond the Pendulum22125101Scripts/c22125101.lua2
Clown Crew Malabarisme83232904Scripts/c83232904.lua1
Erebus the Underworld Monarch23064604Scripts/c23064604.lua2
X-Saber Pellina9978697Scripts/c9978697.lua1
...and 438 more

Script Examples ​

Artmage Non-Finito (74631897) ​

Source: Scripts/c74631897.lua

lua
function s.condition(e,tp,eg,ep,ev,re,r,rp)
	local c=e:GetHandler()
	return c:IsSummonType(SUMMON_TYPE_FUSION) or c:GetFlagEffect(id)>0
end
function s.regop(e,tp,eg,ep,ev,re,r,rp)

Ehther the Heavenly Monarch (96570609) ​

Source: Scripts/c96570609.lua

lua
end
function c96570609.otfilter(c)
	return c:IsSummonType(SUMMON_TYPE_ADVANCE)
end
function c96570609.otcon(e,c,minc)

D/D/D/D Dimensional King Arc Crisis (71398055) ​

Source: Scripts/c71398055.lua

lua
function s.condition(e,tp,eg,ep,ev,re,r,rp)
	local c=e:GetHandler()
	return c:IsSummonType(SUMMON_TYPE_FUSION) or re:GetHandler()==c
end
function s.regop(e,tp,eg,ep,ev,re,r,rp)