游戏王残局简化版

LV-013.lua at [5985f1c474]
Login

LV-013.lua at [5985f1c474]

File LV-013.lua artifact b375b09f10 part of check-in 5985f1c474


--[[message
卡数:12
规则:大师3
]]
--puzzle1
Debug.SetAIName("Level-013")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,2000,0,0)
Debug.SetPlayerInfo(1,4100,0,0)

Debug.AddCard(3510565,0,0,LOCATION_MZONE,0,POS_FACEDOWN_DEFENSE)
Debug.AddCard(41872150,0,0,LOCATION_MZONE,1,POS_FACEDOWN_DEFENSE)
Debug.AddCard(41872150,0,0,LOCATION_MZONE,3,POS_FACEDOWN_DEFENSE)
Debug.AddCard(3510565,0,0,LOCATION_MZONE,4,POS_FACEDOWN_DEFENSE)

--~ Debug.AddCard(87430998,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(37120512,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(52097679,0,0,LOCATION_HAND,0,POS_FACEDOWN)
--~ Debug.AddCard(63102017,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(25880422,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(76909279,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(54098121,0,0,LOCATION_HAND,0,POS_FACEDOWN)

Debug.AddCard(85639257,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(13039848,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
Debug.AddCard(14977074,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)

Debug.AddCard(79323590,1,1,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(95220856,1,1,LOCATION_SZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(34646691,1,1,LOCATION_SZONE,3,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)