Skip to content

Card.IsXyzType ​

Signature ​

lua
Card.IsXyzType(Card c, int type) -> bool

Description ​

Checks whether c's type while used as Xyz Material contains type.

Parameters ​

  • c Card
  • type int

Returns ​

  • bool

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 24 indexed script(s).
  • Search this function in the Script Explorer with Card.IsXyzType.
CardIDScriptDetected Calls
Number 93: Utopia Kaiser23187256Scripts/c23187256.lua1
Disaster, Dragon Ruler of All Apocalypses67359907Scripts/c67359907.lua1
Pendulum Dimension84274024Scripts/c84274024.lua1
Exstellarknight Constellar Ptolemy Ω76195332Scripts/c6195332.lua1
Oracle of Zefra32354768Scripts/c32354768.lua1
Odd-Eyes Rebellion Xyz Dragon30095833Scripts/c30095833.lua1
Number 100: Numeron Dragon57314798Scripts/c57314798.lua1
Digital Bug Corebage58600555Scripts/c58600555.lua1
Rilliona, the Wondrous Magistus Witch Wardrobe74689476Scripts/c74689476.lua1
Number F0: Utopic Future Zexal41522092Scripts/c41522092.lua1
Supreme King Dragon Dark Rebellion42160203Scripts/c42160203.lua1
Vola-Chemicritter Methydraco38026562Scripts/c38026562.lua1
Timestar Magician47349116Scripts/c47349116.lua1
Number S0: Utopic ZEXAL52653092Scripts/c52653092.lua1
Right-Hand Shark11845050Scripts/c11845050.lua1
Majester Paladin, the Ascending Dracoslayer88722973Scripts/c88722973.lua1
Virtual World Dragon - Longlong61641818Scripts/c61641818.lua1
Number F0: Utopic Draco Future26973555Scripts/c26973555.lua1
Digital Bug Rhinosebus85004150Scripts/c85004150.lua1
Left-Hand Shark47840168Scripts/c47840168.lua1
Number F0: Utopic Future65305468Scripts/c65305468.lua1
Number F0: Utopic Future Slash43490025Scripts/c43490025.lua1
Number 21: Frozen Lady Justice57707471Scripts/c57707471.lua1
Thunder End Dragon698785Scripts/c698785.lua1

Script Examples ​

Number 93: Utopia Kaiser (23187256) ​

Source: Scripts/c23187256.lua

lua
aux.xyz_number[23187256]=93
function c23187256.mfilter(c,xyzc)
	return c:IsXyzType(TYPE_XYZ) and c:IsSetCard(0x48) and c:GetOverlayCount()>0
end
function c23187256.xyzcheck(g)

Disaster, Dragon Ruler of All Apocalypses (67359907) ​

Source: Scripts/c67359907.lua

lua
end
function s.mfilter(c,xyzc)
	return c:IsXyzType(TYPE_XYZ) and c:IsRank(7)
end
function s.matfilter(c)

Pendulum Dimension (84274024) ​

Source: Scripts/c84274024.lua

lua
	if c:IsType(TYPE_FUSION) and g:IsExists(Card.IsFusionType,1,nil,TYPE_PENDULUM)
		or c:IsType(TYPE_SYNCHRO) and g:IsExists(Card.IsSynchroType,1,nil,TYPE_PENDULUM)
		or c:IsType(TYPE_XYZ) and g:IsExists(Card.IsXyzType,1,nil,TYPE_PENDULUM) then
		c:RegisterFlagEffect(84274024,RESET_EVENT+0x4fe0000+RESET_PHASE+PHASE_END,0,1)
	end