游戏王残局简化版

X-LV-24.lua at [62134981c2]
Login

X-LV-24.lua at [62134981c2]

File X-LV-24.lua artifact ea673b91c9 part of check-in 62134981c2


--[[message
卡数:4
规则:新大师
]]
--By OURYGO-YGO EZ manager
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,900,0,0)
local g02=Debug.AddCard(48783998,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g12=Debug.AddCard(83011277,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local m02=Debug.AddCard(31036355,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
local m03=Debug.AddCard(10012614,0,0,LOCATION_SZONE,3,POS_FACEUP)
--~ local c0=Debug.AddCard(56433456,0,0,LOCATION_SZONE,5,POS_FACEUP)
--~ Debug.AddCard(59546797,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(98582704,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(15303296,1,1,LOCATION_DECK,0,POS_FACEUP_ATTACK)
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)