Skip to content

Card.GetSpecialSummonInfo ​

Signature ​

lua
Card.GetSpecialSummonInfo(Card c, ... int) -> ...

Description ​

Returns Special Summon information for c. Supported fields include SUMMON_INFO_CODE, SUMMON_INFO_CODE2, SUMMON_INFO_TYPE, SUMMON_INFO_LEVEL, SUMMON_INFO_RANK, SUMMON_INFO_ATTRIBUTE, SUMMON_INFO_RACE, SUMMON_INFO_ATTACK, SUMMON_INFO_DEFENSE, SUMMON_INFO_REASON_EFFECT, and SUMMON_INFO_REASON_PLAYER.

Parameters ​

  • c Card
  • ... int

Returns ​

  • ...

Source ​

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

Used By ​

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

  • Detected in 47 indexed script(s).
  • Search this function in the Script Explorer with Card.GetSpecialSummonInfo.
CardIDScriptDetected Calls
Artmage Pact -Awakening-23599634Scripts/c23599634.lua1
Black Garden71645242Scripts/c71645242.lua1
Seven Cities of the Golden Land95034141Scripts/c95034141.lua1
Crystron Halqifibrax Prism65400671Scripts/c65400671.lua1
Allure Queen LV523756165Scripts/c23756165.lua1
Hyper Rank-Up-Magic Utopiforce67517351Scripts/c67517351.lua1
Baelgrill de Nouvelles88890658Scripts/c88890658.lua1
Dragonroid9069157Scripts/c9069157.lua1
Magicolloidal Sol67694706Scripts/c67694706.lua1
World of Prophecy29146185Scripts/c29146185.lua1
Mysterion the Dragon Crown13735899Scripts/c13735899.lua1
Infernal Strike Fighter66122213Scripts/c66122213.lua1
Summer Schoolwork Successful!77751766Scripts/c77751766.lua1
Millennium Revelation41044418Scripts/c41044418.lua1
Barian Untopia30761649Scripts/c30761649.lua1
Balameuniere de Nouvelles52495649Scripts/c52495649.lua2
Vulmina, Statue of the Sacred Dragon93683815Scripts/c93683815.lua1
Phantasos, the Dream Mirror Friend62393472Scripts/c62393472.lua1
Derk, Longing for the Blue Skies46708514Scripts/c46708514.lua1
Branded in Central Dogmatika14220547Scripts/c14220547.lua2
ZW - Sylphid Wing95886782Scripts/c95886782.lua1
Branded Lost18973184Scripts/c18973184.lua1
Neiroy, the Dream Mirror Disciple18189187Scripts/c18189187.lua1
Chef's Special Recipe87955518Scripts/c87955518.lua1
...and 23 more

Script Examples ​

Artmage Pact -Awakening- (23599634) ​

Source: Scripts/c23599634.lua

lua
function s.limfilter(c,tp)
	return c:IsSummonPlayer(tp) and c:IsSummonType(SUMMON_TYPE_FUSION)
		and c:GetSpecialSummonInfo(SUMMON_INFO_REASON_EFFECT):IsHasCategory(CATEGORY_FUSION_SUMMON)
end
function s.limcon(e,tp,eg,ep,ev,re,r,rp)

Black Garden (71645242) ​

Source: Scripts/c71645242.lua

lua
end
function c71645242.cfilter(c,tp)
	local code,code2=c:GetSpecialSummonInfo(SUMMON_INFO_CODE,SUMMON_INFO_CODE2)
	return c:IsFaceup() and c:IsControler(tp) and code~=71645242 and code2~=71645242
end

Seven Cities of the Golden Land (95034141) ​

Source: Scripts/c95034141.lua

lua
end
function c95034141.alfilter(c)
	return c:IsRace(RACE_ZOMBIE) and c:IsFaceup() and c:GetSpecialSummonInfo(SUMMON_INFO_REASON_EFFECT)
end
function c95034141.alcon(e,tp,eg,ep,ev,re,r,rp)