Card.GetSummonType
Signature
lua
Card.GetSummonType(Card c) -> intDescription
Returns c's recorded Summon Type bits masked to the default Summon Type field.
Parameters
cCard
Returns
int
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3522
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 26 indexed script(s).
- Search this function in the Script Explorer with
Card.GetSummonType.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Ostinato | 9113513 | Scripts/c9113513.lua | 1 |
| Gizmek Yata, the Gleaming Vanguard | 13224603 | Scripts/c13224603.lua | 1 |
| Argostars - Lightning Tydeu | 65889305 | Scripts/c65889305.lua | 1 |
| Millennium Revelation | 41044418 | Scripts/c41044418.lua | 1 |
| Trishula, the Dragon of Icy Imprisonment | 15661378 | Scripts/c15661378.lua | 1 |
| Guoglim, Spear of the Ghoti | 2405631 | Scripts/c2405631.lua | 1 |
| Metamorphortress | 43959432 | Scripts/c43959432.lua | 2 |
| T.G. Recipro Dragonfly | 62560742 | Scripts/c62560742.lua | 1 |
| Argostars - Slayer Eteo | 38379052 | Scripts/c38379052.lua | 1 |
| Kuebiko | 20087414 | Scripts/c20087414.lua | 1 |
| World Legacy - "World Armor" | 83477829 | Scripts/c83477829.lua | 1 |
| Statue of Anguish Pattern | 23626223 | Scripts/c23626223.lua | 2 |
| Silhouhatte Trick | 24440742 | Scripts/c24440742.lua | 1 |
| Exodia, the Legendary Defender | 5008836 | Scripts/c5008836.lua | 1 |
| Zoma the Earthbound Spirit | 88001391 | Scripts/c88001391.lua | 1 |
| Bujin Hirume | 9418365 | Scripts/c9418365.lua | 1 |
| Blink Out | 28279365 | Scripts/c28279365.lua | 1 |
| Argostars - Swift Capane | 91284003 | Scripts/c91284003.lua | 1 |
| Krystal Avatar | 20960340 | Scripts/c20960340.lua | 1 |
| Extraceratops | 38383368 | Scripts/c38383368.lua | 1 |
| Dark Lucius LV6 | 12817939 | Scripts/c12817939.lua | 1 |
| Cyber Shadow Gardna | 90440725 | Scripts/c90440725.lua | 2 |
| Crusadia Krawler | 55838342 | Scripts/c55838342.lua | 1 |
| The Ascended of Thunder | 70493141 | Scripts/c70493141.lua | 1 |
| ...and 2 more |
Script Examples
Ostinato (9113513)
Source: Scripts/c9113513.lua
lua
local tc=e:GetLabelObject()
local mg=tc:GetMaterial()
local sumtype=tc:GetSummonType()
if Duel.Destroy(tc,REASON_EFFECT)~=0
and bit.band(sumtype,SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION and mg:GetCount()>0Gizmek Yata, the Gleaming Vanguard (13224603)
Source: Scripts/c13224603.lua
lua
function c13224603.reccon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE) and c:GetSummonType()==SUMMON_TYPE_SPECIAL+SUMMON_VALUE_SELF
end
function c13224603.rectg(e,tp,eg,ep,ev,re,r,rp,chk)Argostars - Lightning Tydeu (65889305)
Source: Scripts/c65889305.lua
lua
function s.setcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return not c:IsStatus(STATUS_BATTLE_DESTROYED) and c:GetSummonType()==SUMMON_TYPE_SPECIAL+SUMMON_VALUE_SELF
end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)