游戏王残局简化版

X-LV-48.lua at [49ca0e7e66]
Login

X-LV-48.lua at [49ca0e7e66]

File single/X-LV-48.lua artifact d171b8d4d3 part of check-in 49ca0e7e66


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

Debug.AddCard(44956694,0,0,LOCATION_HAND,1,POS_FACEDOWN)
Debug.AddCard(19508728,0,0,LOCATION_HAND,1,POS_FACEDOWN)
--~ Debug.AddCard(75652080,0,0,LOCATION_HAND,1,POS_FACEDOWN)

Debug.AddCard(57831349,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK)
Debug.AddCard(57831349,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK)

Debug.AddCard(5183693,0,0,LOCATION_DECK,3,POS_FACEDOWN_ATTACK)
Debug.AddCard(24154052,0,0,LOCATION_DECK,3,POS_FACEDOWN_ATTACK)

Debug.AddCard(67441435,0,0,LOCATION_GRAVE,3,POS_FACEDOWN_ATTACK)
--~ Debug.AddCard(24154052,0,0,LOCATION_GRAVE,3,POS_FACEDOWN_ATTACK)

local m1=Debug.AddCard(89631139,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.PreSummon(m1, SUMMON_TYPE_ADVANCE)

Debug.AddCard(83755611,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(24154052,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

Debug.AddCard(33909817,0,0,LOCATION_EXTRA,3,POS_FACEDOWN_ATTACK)

--~ Debug.AddCard(37955049,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)

Debug.AddCard(20140382,1,1,LOCATION_SZONE,3,POS_FACEDOWN_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)