--[[message
]]
--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
--puzzle1
Debug.SetAIName("四妹")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,1000,0,0)
Debug.SetPlayerInfo(1,24300,0,0)
Debug.AddCard(92826944,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(96146814,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(7392745,0,0,LOCATION_DECK,4,POS_FACEDOWN)
Debug.AddCard(37101832,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(24317029,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(14087893,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(43434803,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(35480699,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(39648965,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(14644902,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(30915572,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(90075978,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(4081825,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(93747864,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(5014629,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(68597372,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(56910167,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(6602300,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(99916754,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(1546124,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(54702678,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(57844634,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(44330098,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(15175429,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(52286175,1,1,LOCATION_MZONE,0,POS_FACEUP_DEFENCE)
Debug.AddCard(57844634,1,1,LOCATION_MZONE,1,POS_FACEDOWN_DEFENCE)
Debug.AddCard(87340664,1,1,LOCATION_MZONE,2,POS_FACEDOWN_DEFENCE)
Debug.AddCard(44789585,1,1,LOCATION_MZONE,3,POS_FACEDOWN_DEFENCE)
Debug.AddCard(44095762,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(35686187,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(20522190,1,1,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()
local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE_START+PHASE_END)
e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetTurnPlayer()==0 end)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Debug.ShowHint("提示:攻击的时机") end)
Duel.RegisterEffect(e1,0)