游戏王残局简化版

LV-083.lua at [735e1d65bd]
Login

LV-083.lua at [735e1d65bd]

File single/LV-083.lua artifact 6424baf987 part of check-in 735e1d65bd


--puzzle1
Debug.SetAIName("Level-083")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,1100,0,0)
Debug.SetPlayerInfo(1,3000,0,0)

Debug.AddCard(54652250,0,0,LOCATION_MZONE,2,POS_FACEDOWN_DEFENSE)

Debug.AddCard(82732705,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(29549364,0,0,LOCATION_SZONE,3,POS_FACEDOWN)

Debug.AddCard(71413901,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(31036355,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(53046408,0,0,LOCATION_HAND,0,POS_FACEDOWN)

Debug.AddCard(78700060,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

Debug.AddCard(72302403,1,1,LOCATION_SZONE,2,POS_FACEUP_ATTACK)

Debug.ReloadFieldEnd()
Debug.ShowHint("GAME START!")
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)