游戏王残局简化版

X-LV-22.lua at [a754e6f3f2]
Login

X-LV-22.lua at [a754e6f3f2]

File single/X-LV-22.lua artifact 386f76909d part of check-in a754e6f3f2


--[[message
卡数:2
规则:新大师
]]
--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,3000,0,0)

local g01=Debug.AddCard(64631466,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
local g02=Debug.AddCard(64631466,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g13=Debug.AddCard(89631139,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
local g12=Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEDOWN_DEFENSE)
local g11=Debug.AddCard(89631139,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
--~ local m02=Debug.AddCard(75652080,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
--~ local m12=Debug.AddCard(72302403,1,1,LOCATION_SZONE,2,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)


Debug.ShowHint("尝试一下怪兽变为装备卡")