游戏王残局简化版

X-LV-49.lua at [94ba9411d1]
Login

X-LV-49.lua at [94ba9411d1]

File X-LV-49.lua artifact a68471ff08 part of check-in 94ba9411d1


--[[message
卡数:6
规则:大师3
]]
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_PSEUDO_SHUFFLE+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,1100,0,0)
Debug.SetPlayerInfo(1,3900,0,0)

Debug.AddCard(99330325,0,0,LOCATION_HAND,1,POS_FACEDOWN)
Debug.AddCard(68464358,0,0,LOCATION_HAND,1,POS_FACEDOWN)




Debug.AddCard(63941210,0,0,LOCATION_DECK,3,POS_FACEDOWN_ATTACK)
Debug.AddCard(55063751,0,0,LOCATION_DECK,3,POS_FACEDOWN_ATTACK)
Debug.AddCard(5087128,0,0,LOCATION_DECK,3,POS_FACEDOWN_ATTACK)
--~ Debug.AddCard(24154052,0,0,LOCATION_DECK,3,POS_FACEDOWN_ATTACK)

Debug.AddCard(33178416,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(73081602,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

Debug.AddCard(27134689,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)

Debug.AddCard(46668237,0,0,LOCATION_GRAVE,1,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)