Skip to content

Auxiliary.mzctcheck ​

Signature ​

lua
Auxiliary.mzctcheck(Group g, int tp) -> bool

Description ​

Returns true if tp would have an open Monster Zone after releasing g.

Parameters ​

  • g Group
  • tp int

Returns ​

  • bool - true if tp has an open Monster Zone after releasing g.

Source ​

  • Utilities/utility.lua:1166

Used By ​

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

  • Detected in 54 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.mzctcheck.
CardIDScriptDetected Calls
Mecha Phantom Beast Auroradon44097050Scripts/c44097050.lua2
Berserkion the Electromagna Warrior42901635Scripts/c42901635.lua2
Arcana Force EX - The Light Ruler5861892Scripts/c5861892.lua2
D/D/D Vice King Requiem25857977Scripts/c25857977.lua2
Indiora Doom Volt the Cubic Emperor3775068Scripts/c3775068.lua2
Vulcan Dragni the Cubic King77387463Scripts/c77387463.lua2
Armed Dragon LV10 White84425220Scripts/c84425220.lua1
Metaphys Executor45148985Scripts/c45148985.lua2
Ma'at18631392Scripts/c18631392.lua1
Infernoid Piaty25811989Scripts/c25811989.lua2
Blade Garoodia the Cubic Beast78509901Scripts/c78509901.lua2
Blackwing - Aurora the Northern Lights4068622Scripts/c4068622.lua1
Buster Gundil the Cubic Behemoth4998619Scripts/c4998619.lua2
Infernoid Attondel88301393Scripts/c88301393.lua2
Infernoid Seitsemas51316684Scripts/c51316684.lua2
Awakening of the Possessed - Nefariouser Archfiend65268179Scripts/c65268179.lua1
Infernoid Onuncu14799437Scripts/c14799437.lua2
Awakening of the Possessed - Gagigobyte74426895Scripts/c74426895.lua1
Dystopia the Despondent52085072Scripts/c52085072.lua2
The Atmosphere14466224Scripts/c14466224.lua1
Conduction Warrior Linear Magnum Plus Minus44839512Scripts/c44839512.lua2
Awakening of the Possessed - Greater Inari Fire92652813Scripts/c92652813.lua1
Transcendosaurus Meteorus31241087Scripts/c31241087.lua3
Infernoid Devyaty23440231Scripts/c23440231.lua2
...and 30 more

Script Examples ​

Mecha Phantom Beast Auroradon (44097050) ​

Source: Scripts/c44097050.lua

lua
	local g=Duel.GetReleaseGroup(tp)
	local b1=Duel.CheckReleaseGroup(tp,c44097050.costfilter,1,nil,tp)
	local b2=g:GetCount()>1 and g:CheckSubGroup(aux.mzctcheck,2,2,tp)
		and Duel.IsExistingMatchingCard(c44097050.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp)
	local b3=Duel.CheckReleaseGroup(tp,nil,3,nil) and Duel.IsExistingMatchingCard(c44097050.thfilter,tp,LOCATION_GRAVE,0,1,nil)

Berserkion the Electromagna Warrior (42901635) ​

Source: Scripts/c42901635.lua

lua
	local tp=c:GetControler()
	local g=Duel.GetMatchingGroup(c42901635.spcostfilter,tp,LOCATION_HAND+LOCATION_MZONE+LOCATION_GRAVE,0,nil)
	return g:CheckSubGroupEach(c42901635.spchecks,aux.mzctcheck,tp)
end
function c42901635.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)

Arcana Force EX - The Light Ruler (5861892) ​

Source: Scripts/c5861892.lua

lua
	local tp=c:GetControler()
	local mg=Duel.GetMatchingGroup(c5861892.spfilter,tp,LOCATION_MZONE,0,nil)
	return mg:CheckSubGroup(aux.mzctcheck,3,3,tp)
end
function c5861892.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)