游戏王残局简化版

X-LV-15.lua at [174254d0af]
Login

X-LV-15.lua at [174254d0af]

File single/X-LV-15.lua artifact d0777b3757 part of check-in 174254d0af


--[[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,1500,0,0)

local g02=Debug.AddCard(84696266,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g12=Debug.AddCard(27288416,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local m01=Debug.AddCard(31000575,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
local m02=Debug.AddCard(31036355,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
local m03=Debug.AddCard(74117290,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
local m12=Debug.AddCard(79333300,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(46986414,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()

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)