游戏王残局简化版

X-LV-29.lua at [1f2e131468]
Login

X-LV-29.lua at [1f2e131468]

File single/X-LV-29.lua artifact 917852b572 part of check-in 1f2e131468


--[[message
卡数:9
规则:新大师
]]
--By OURYGO-YGO EZ manager
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,40700,0,0)
Debug.AddCard(81332143,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(14731897,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(24299458,0,0,LOCATION_HAND,0,POS_FACEDOWN)
local g01=Debug.AddCard(17775525,0,0,LOCATION_MZONE,1,POS_FACEUP_DEFENSE)
local g03=Debug.AddCard(27134689,0,0,LOCATION_MZONE,3,POS_FACEUP_DEFENSE)
local g12=Debug.AddCard(82593786,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local m01=Debug.AddCard(55948544,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
local m03=Debug.AddCard(55948544,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
local m12=Debug.AddCard(53239672,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
local m13=Debug.AddCard(41420027,1,1,LOCATION_SZONE,1,POS_FACEDOWN)
--~ Debug.AddCard(82593786,1,1,LOCATION_GRAVE,0,POS_FACEUP)
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)