--[[message
卡数：9
规则：大师3
]]
--wcs2011-11
Debug.SetAIName("[WCS2011]-11")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,3000,0,0)
Debug.SetPlayerInfo(1,10300,0,0)
--~ Debug.AddCard(52768103,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(52768103,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(10315429,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(9748752,0,0,LOCATION_HAND,0,POS_FACEDOWN)
--~ Debug.AddCard(7672244,0,0,LOCATION_HAND,0,POS_FACEDOWN)
--~ Debug.AddCard(83011277,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(34016756,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(81823360,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(98045062,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(55465441,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(41398771,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(52768103,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(83011277,0,0,LOCATION_MZONE,3,POS_FACEDOWN_DEFENSE)
Debug.AddCard(89189982,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(40575313,1,1,LOCATION_MZONE,3,POS_FACEUP_DEFENSE)
Debug.AddCard(37742478,1,1,LOCATION_HAND,0,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)
