游戏王残局简化版

LV-044.lua at [f26b7be7fc]
Login

LV-044.lua at [f26b7be7fc]

File single/LV-044.lua artifact 294f70b594 part of check-in f26b7be7fc


--puzzle1
Debug.SetAIName("Level-044")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,1700,0,0)

Debug.AddCard(60082869,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(37011715,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(41420027,0,0,LOCATION_SZONE,3,POS_FACEDOWN)

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

Debug.AddCard(51452091,1,1,LOCATION_SZONE,2,POS_FACEDOWN)

local m01=Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local s01=Debug.AddCard(1435851,1,1,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
Debug.PreEquip(s01,m01)

Debug.AddCard(22046459,1,1,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(64389297,1,1,LOCATION_GRAVE,1,POS_FACEUP_ATTACK)
Debug.AddCard(73891874,1,1,LOCATION_GRAVE,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)