--[[message
卡数:12
规则:大师3
]]
--wcs2011-10
Debug.SetAIName("[WCS2011]-10")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,2700,0,0)
Debug.AddCard(40666140,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(57421866,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
Debug.AddCard(41788781,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(77060848,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(66362965,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(15629801,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
--~ Debug.AddCard(69162969,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
--~ Debug.AddCard(34815282,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(27551,0,0,LOCATION_SZONE,4,POS_FACEDOWN)
Debug.AddCard(40844552,0,0,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(29795530,0,0,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(93483212,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(67098114,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(30604579,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(45815891,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
--~ Debug.AddCard(70342110,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
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)