Skip to content

Auxiliary.GetXyzNumber ​

Signature ​

lua
Auxiliary.GetXyzNumber(any v) -> int|nil

Description ​

Returns the stored Xyz Number value for v, where v can be a Card or a numeric card code. Returns nil when no value is registered.

Parameters ​

  • v any

Returns ​

  • int|nil - Registered Xyz Number value, if any.

Source ​

  • Utilities/utility.lua:60

Used By ​

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

  • Detected in 18 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.GetXyzNumber.
CardIDScriptDetected Calls
Number 99: Utopia Dragonar95134948Scripts/c95134948.lua1
Number 78: Number Archive29085954Scripts/c29085954.lua1
CXyz N.As.Ch. Knight61374414Scripts/c61374414.lua1
Don Thousand's Throne93238626Scripts/c93238626.lua3
Seventh Eternity60158866Scripts/c60158866.lua1
Galaxy Satellite Dragon92362073Scripts/c92362073.lua2
Rebirth of the Seventh Emperors83888009Scripts/c83888009.lua1
Barian Untopia30761649Scripts/c30761649.lua1
Seventh Force83293635Scripts/c83293635.lua1
Barian's Seal38001022Scripts/c38001022.lua1
CXyz Barian Hope67926903Scripts/c67926903.lua1
Rank-Up-Magic - The Seventh One57734012Scripts/c57734012.lua3
Seventh Tachyon7477101Scripts/c7477101.lua1
N.As.H. Knight34876719Scripts/c34876719.lua1
Numbers Eveil20994205Scripts/c20994205.lua7
Reincarnation of the Seventh Emperors57499304Scripts/c57499304.lua1
Rank-Up-Magic Quick Chaos33252803Scripts/c33252803.lua3
CXyz Chaos Barian Hope Dragon79791695Scripts/c79791695.lua1

Script Examples ​

Number 99: Utopia Dragonar (95134948) ​

Source: Scripts/c95134948.lua

lua
end
function c95134948.spfilter(c,e,tp)
	local no=aux.GetXyzNumber(c)
	return no and no>=1 and no<=100 and c:IsSetCard(0x48)
		and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0

Number 78: Number Archive (29085954) ​

Source: Scripts/c29085954.lua

lua
end
function c29085954.filter(c,e,tp,mc)
	local no=aux.GetXyzNumber(c)
	return no and no>=1 and no<=99 and c:IsSetCard(0x48)
		and mc:IsCanBeXyzMaterial(c)

CXyz N.As.Ch. Knight (61374414) ​

Source: Scripts/c61374414.lua

lua
end
function c61374414.spfilter(c,e,tp,mc)
	local no=aux.GetXyzNumber(c)
	return no and no>=101 and no<=107 and c:IsSetCard(0x48) and c:IsType(TYPE_XYZ) and mc:IsCanBeXyzMaterial(c)
		and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,mc,c)>0