游戏王残局简化版

sample5.lua at [1e57e70ae4]
Login

sample5.lua at [1e57e70ae4]

File sample5.lua artifact 888d4bb691 part of check-in 1e57e70ae4


--[[message
卡数:0
规则:大师2020
灵摆召唤入门1
]]
Debug.SetAIName("sample5")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,1900,0,0)

Debug.AddCard(28363749,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(17390179,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(92125819,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(76908448,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(43096270,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(14214060,0,0,LOCATION_HAND,0,POS_FACEDOWN)

--~ Debug.AddCard(16195942,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)

Debug.AddCard(91731841,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(21251800,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

Debug.ReloadFieldEnd()
--~ Debug.ShowHint("GAME START!")
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)