--[[message
卡数：5
规则：大师3
]]
--wcs2011-04
Debug.SetAIName("[WCS2011]-04")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,1100,0,0)
Debug.SetPlayerInfo(1,10000,0,0)
Debug.AddCard(2504891,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
--~ Debug.AddCard(89386122,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
Debug.AddCard(2504891,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK,true)
--~ c2=Debug.AddCard(21887179,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
--~ Debug.AddCard(74701381,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(98239899,0,0,LOCATION_SZONE,0,POS_FACEDOWN)
--~ Debug.AddCard(,0,0,LOCATION_SZONE,0,POS_FACEDOWN)
--~ Debug.AddCard(69122763,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(55465441,0,0,LOCATION_SZONE,4,POS_FACEDOWN)
--~ Debug.AddCard(98792570,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(98792570,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(29415459,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(84754430,0,0,LOCATION_GRAVE,0,POS_FACEDOWN)
--~ Debug.AddCard(7165085,0,0,LOCATION_HAND,0,POS_FACEDOWN)
--~ Debug.AddCard(63516460,0,0,LOCATION_HAND,0,POS_FACEDOWN)
--~ Debug.AddCard(46461247,0,0,LOCATION_MZONE,0,POS_FACEDOWN_DEFENSE)
--~ Debug.AddCard(9373534,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(87880531,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(69123138,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
Debug.AddCard(69123138,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(69123138,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(69123138,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(69123138,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
--~ e1=Debug.AddCard(83584898,1,1,LOCATION_SZONE,1,POS_FACEUP)
--~ Debug.PreEquip(e1,c2)
--~ Debug.AddCard(98139712,1,1,LOCATION_SZONE,2,POS_FACEUP)
--~ e2=Debug.AddCard(83584898,1,1,LOCATION_SZONE,3,POS_FACEUP)
--~ Debug.PreEquip(e2,c1)
--~ Debug.AddCard(44095762,1,1,LOCATION_SZONE,4,POS_FACEDOWN)
--~ Debug.PreEquip(c2,c1)
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)
