游戏王残局简化版

MH-20230405.lua at [660452fedb]
Login

MH-20230405.lua at [660452fedb]

File single/MH-20230405.lua artifact 336eafbe49 part of check-in 660452fedb


--[[message
卡数:24
规则:新大师
]]
--created by puzzle editor
Debug.SetAIName("棉花")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,14200,0,0)

--自己的怪兽区
--对方的怪兽区
Debug.AddCard(89631139,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK) --黑兽龙
Debug.AddCard(89631139,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK) --黑兽龙
Debug.AddCard(89631139,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK) --黑兽龙
Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) --黑兽龙
Debug.AddCard(89631139,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK) --黑兽龙
--自己的魔陷区
Debug.AddCard(57441100,0,0,LOCATION_SZONE,2,POS_FACEUP_ATTACK) --金刚真力
Debug.AddCard(25669282,0,0,LOCATION_SZONE,1,POS_FACEDOWN_ATTACK) --完全燃烧
Debug.AddCard(80758812,0,0,LOCATION_SZONE,3,POS_FACEDOWN_ATTACK) --二重烧蚀
--对方的魔陷区
--自己的手卡
Debug.AddCard(81599449,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK) --化合兽 碳素蟹
Debug.AddCard(16984449,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK) --炎妖蝶 维尔普斯
Debug.AddCard(54485355,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK) --升华骑士
--对方的手卡
--自己的墓地
--对方的墓地
--自己除外的卡
--对方除外的卡
--自己的卡组
Debug.AddCard(24094653,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --融合
Debug.AddCard(95750695,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --超二重召唤
Debug.AddCard(34959756,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --活化石
Debug.AddCard(38783169,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --调整鼠骑士
Debug.AddCard(97870394,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --亚马逊灵术师
Debug.AddCard(72305034,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --重起士道-金骑士
Debug.AddCard(16146511,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --真化护法 主教
Debug.AddCard(69488544,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --凤凰剑圣 基亚·弗里德
Debug.AddCard(65959844,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --化合电界
Debug.AddCard(90965652,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --二量合成
Debug.AddCard(44088292,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --进化合兽 二氧鬼神
Debug.AddCard(80476891,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --进化合兽 水蛇龙
Debug.AddCard(55100740,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --化合兽 氢素鹰
--对方的卡组
--自己的额外
Debug.AddCard(38026562,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --超化合兽 甲醇双面兽
Debug.AddCard(68300121,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --魔键凭灵-威沛图
Debug.AddCard(59934749,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --圣骑士的追想 伊索德
Debug.AddCard(27381364,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --卫星闪灵·淘气精灵
Debug.AddCard(64463828,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --超合魔兽 拉普提诺斯

Debug.ReloadFieldEnd()
aux.BeginPuzzle()

local e1=Effect.GlobalEffect()
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_USE_EXTRA_MZONE)
e1:SetValue(1)
Duel.RegisterEffect(e1,0)

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)