游戏王残局简化版

X-LV-04.lua at [2ddc3f05f9]
Login

X-LV-04.lua at [2ddc3f05f9]

File single/X-LV-04.lua artifact d873ad7b06 part of check-in 2ddc3f05f9


--[[message
卡数:10
规则:新大师
]]
--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,10500,0,0)
local g01=Debug.AddCard(16428514,0,0,LOCATION_MZONE,1,POS_FACEDOWN_DEFENSE)
local g02=Debug.AddCard(78202553,0,0,LOCATION_MZONE,2,POS_FACEDOWN_DEFENSE)
local g12=Debug.AddCard(46613515,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g11=Debug.AddCard(93788854,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
local m02=Debug.AddCard(52503575,0,0,LOCATION_SZONE,2,POS_FACEUP)
local m03=Debug.AddCard(74640994,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
local m03=Debug.AddCard(31000575,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
local m00=Debug.AddCard(68001309,0,0,LOCATION_SZONE,0,POS_FACEUP)
Debug.AddCard(42713844,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(39581190,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
--~ Debug.AddCard(74640994,0,0,LOCATION_GRAVE,0,POS_FACEUP)
--~ Debug.AddCard(31000575,0,0,LOCATION_GRAVE,0,POS_FACEUP)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()



Debug.ShowHint("胜利目标:让对方生命值归零!\n提示:隐含特殊胜利方式!")
--~ Debug.ShowHint("提示:隐含特殊胜利方式。")

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)