--[[message
卡数:19
规则:大师3
治安维持局最后防线·第25期!
在传说的尽头!
]]
--created by ygopro puzzle maker
Debug.SetAIName("zawcj25")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,2500,0,0)
Debug.SetPlayerInfo(1,11100,0,0)
Debug.AddCard(89997728,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(89997728,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(15259703,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(75014062,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(36107810,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(83764718,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(63101919,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(39910367,0,0,LOCATION_SZONE,5,POS_FACEUP_ATTACK)
Debug.AddCard(78121572,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(94256039,0,0,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK)
Debug.AddCard(11508758,0,0,LOCATION_HAND,1,POS_FACEUP_ATTACK)
Debug.AddCard(75014062,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(89997728,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(42386471,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(11868825,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.AddCard(40732515,0,0,LOCATION_HAND,6,POS_FACEUP_ATTACK)
Debug.AddCard(63014935,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(66436257,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(53183600,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(53239672,1,1,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
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)