游戏王残局简化版

sample8_衍生版_1.lua at [8cc3c134ba]
Login

sample8_衍生版_1.lua at [8cc3c134ba]

File single/sample8_衍生版_1.lua artifact 6a9a2e4960 part of check-in 8cc3c134ba


--[[message
卡数:6
规则:大师2020
综合残局1
]]
Debug.SetAIName("sample8")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,5)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,11500,0,0)

Debug.AddCard(15341821,0,0,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
Debug.AddCard(58932615,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(37955049,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)

Debug.AddCard(87979586,0,0,LOCATION_REMOVED,0,POS_FACEUP_ATTACK)

Debug.AddCard(28637168,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(99748883,0,0,LOCATION_HAND,0,POS_FACEDOWN)

Debug.AddCard(97204936,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)
Debug.AddCard(95992081,0,0,LOCATION_EXTRA,1,POS_FACEDOWN)
Debug.AddCard(26563200,0,0,LOCATION_EXTRA,2,POS_FACEDOWN)

Debug.AddCard(6740720,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
--~ Debug.AddCard(6740720,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(24311372,1,1,LOCATION_MZONE,1,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)