Card.IsSummonType
Signature
lua
Card.IsSummonType(Card c, int sumtype) -> boolDescription
Checks whether c's recorded Summon type includes every flag in sumtype.
Parameters
cCardsumtypeint
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3556
Guided Examples
Learn how to use this function in context:
- Gemini Monsters
- Pendulum Procedure Guide
- Ritual Procedure Guide
- Special Summon-Only Monster Guide
- Tribute Summon Materials
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.
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)