Skip to content

Auxiliary.AddXyzProcedureLevelFree ​

Signature ​

lua
Auxiliary.AddXyzProcedureLevelFree(Card c, function|nil f, function|nil gf, int minc, int maxc, [function|nil alterf], [int alterdesc], [function|nil alterop]) -> void

Description ​

Registers a Level-free Xyz Summon procedure on c. f filters each candidate material, while gf can validate the selected group as a whole, such as requiring all materials to have the same Rank. The local helper still checks Card.IsCanBeXyzMaterial, zone availability, and EFFECT_XYZ_MIN_COUNT, but procedure.lua notes that EFFECT_DOUBLE_XMATERIAL is not supported in this path.

Parameters ​

  • c Card - Xyz Monster receiving the Level-free procedure.
  • f function|nil - Optional per-material filter.
  • gf function|nil - Optional whole-group validator called on the selected material group.
  • minc int - Minimum material count.
  • maxc int - Maximum material count.
  • alterf function|nil optional - Optional filter for a one-card alternate Xyz Summon route.
  • alterdesc int optional - Prompt text id used when the alternate route can be chosen.
  • alterop function|nil optional - Optional check/apply callback for the alternate route.

Source ​

  • Utilities/procedure.lua:700

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 13 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.AddXyzProcedureLevelFree.
CardIDScriptDetected Calls
Exosisters Magnifica59242457Scripts/c59242457.lua1
Number 93: Utopia Kaiser23187256Scripts/c23187256.lua1
Disaster, Dragon Ruler of All Apocalypses67359907Scripts/c67359907.lua1
Number 100: Numeron Dragon57314798Scripts/c57314798.lua1
Rilliona, the Wondrous Magistus Witch Wardrobe74689476Scripts/c74689476.lua1
Eclipse Twins45852939Scripts/c45852939.lua1
Number F0: Utopic Future Zexal41522092Scripts/c41522092.lua1
Number S0: Utopic ZEXAL52653092Scripts/c52653092.lua1
Gigantic Spright54498517Scripts/c54498517.lua1
Virtual World Dragon - Longlong61641818Scripts/c61641818.lua1
Number F0: Utopic Draco Future26973555Scripts/c26973555.lua1
Number F0: Utopic Future65305468Scripts/c65305468.lua1
Number F0: Utopic Future Slash43490025Scripts/c43490025.lua1

Script Examples ​

Exosisters Magnifica (59242457) ​

Source: Scripts/c59242457.lua

lua
	--xyz summon
	c:EnableReviveLimit()
	aux.AddXyzProcedureLevelFree(c,c59242457.mfilter,nil,2,2)
	--spsummon condition
	local e1=Effect.CreateEffect(c)

Number 93: Utopia Kaiser (23187256) ​

Source: Scripts/c23187256.lua

lua
	--xyz summon
	c:EnableReviveLimit()
	aux.AddXyzProcedureLevelFree(c,c23187256.mfilter,c23187256.xyzcheck,2,99)
	--spsummon
	local e2=Effect.CreateEffect(c)

Disaster, Dragon Ruler of All Apocalypses (67359907) ​

Source: Scripts/c67359907.lua

lua
	--xyz summon
	c:EnableReviveLimit()
	aux.AddXyzProcedureLevelFree(c,s.mfilter,nil,2,2)
	--material
	local e1=Effect.CreateEffect(c)