--[[message
卡数:10
规则:大师2020
你会加减乘除吗?
]]
Debug.SetAIName("Naim")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
Debug.SetPlayerInfo(0,1000,0,0)
Debug.SetPlayerInfo(1,22500,0,0)
--Main Deck
Debug.AddCard(53577438,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(52354896,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(89743495,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(16360142,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Extra Deck
Debug.AddCard(42632209,0,0,LOCATION_EXTRA,0,8)
Debug.AddCard(85692042,0,0,LOCATION_EXTRA,0,8)
--Hand
Debug.AddCard(41410651,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(17946349,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(57160136,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(80965043,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(27182739,0,0,LOCATION_HAND,0,POS_FACEDOWN)
--Hand
--Monster Zones
Debug.AddCard(23995346,1,1,LOCATION_MZONE,3,1,true)
Debug.AddCard(23995346,1,1,LOCATION_MZONE,4,1,true)
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)