--[[message
卡数:31
规则:大师3
]]
--created by ygopro puzzle maker
Debug.SetAIName("棉花")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,8000,0,0)
Debug.AddCard(30587695,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(16550875,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(16550875,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(16550875,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(21790410,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(21790410,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(21790410,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(21977828,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(21977828,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(2461031,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(2461031,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(68184115,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(69207766,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(94573223,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(94573223,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(52601736,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(52601736,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(52601736,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(65192027,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(34086406,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(95992081,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(56910167,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(9161357,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(38495396,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(2407234,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(69610924,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(95992081,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(96965364,0,0,LOCATION_HAND,1,POS_FACEUP_ATTACK)
Debug.AddCard(5288597,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(2461031,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(18964575,1,1,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
--~ Debug.ShowHint("本回合取得胜利")
aux.BeginPuzzle()
local e999=Effect.GlobalEffect()
e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e999:SetCode(EVENT_DAMAGE)
e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Debug.ShowHint("残局群181175613") end)
Duel.RegisterEffect(e999,0)