游戏王残局简化版

MH-20220202.lua at [ba31421fee]
Login

MH-20220202.lua at [ba31421fee]

File single/MH-20220202.lua artifact 4e1f3f2494 part of check-in ba31421fee


--[[message
卡数:20
规则:大师2020
]]

--created by puzzle editor
Debug.SetAIName("棉花")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_PSEUDO_SHUFFLE+DUEL_SIMPLE_AI,5)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,11100,0,0)

--自己的怪兽区
--对方的怪兽区
Debug.AddCard(81587028,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENSE) --玩具盒
Debug.AddCard(41721210,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) --龙骑士 黑魔术师
--自己的魔陷区
--对方的魔陷区
Debug.AddCard(62279055,1,1,LOCATION_SZONE,2,POS_FACEDOWN_ATTACK) --魔法筒
--自己的手卡
Debug.AddCard(77901552,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK) --圣刻龙-泰芙龙
Debug.AddCard(4022819,0,0,LOCATION_HAND,1,POS_FACEUP_ATTACK) --圣刻龙-艾西龙
Debug.AddCard(3300267,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK) --圣刻龙-舒龙
Debug.AddCard(31516413,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK) --圣刻龙-奈芙龙
Debug.AddCard(78033100,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK) --圣刻龙-半龙盖布
--对方的手卡
--自己的墓地
--对方的墓地
--自己除外的卡
--对方除外的卡
--自己的卡组
Debug.AddCard(31516413,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --圣刻龙-奈芙龙
Debug.AddCard(4022819,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --圣刻龙-艾西龙
Debug.AddCard(13140300,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --神龙之圣刻印
Debug.AddCard(13140300,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --神龙之圣刻印
Debug.AddCard(13140300,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --神龙之圣刻印
Debug.AddCard(88264978,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK) --真红眼暗钢龙
Debug.AddCard(3300267,0,0,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --圣刻龙-舒龙
--对方的卡组
Debug.AddCard(62514770,1,1,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --拉长石龙
Debug.AddCard(72717433,1,1,LOCATION_DECK,0,POS_FACEDOWN_ATTACK) --人偶怪兽 小姑娘
--自己的额外
Debug.AddCard(91949988,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --迅雷之骑士 盖亚龙骑士
Debug.AddCard(91949988,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --迅雷之骑士 盖亚龙骑士
Debug.AddCard(27337596,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --圣刻龙王-阿图姆龙王
Debug.AddCard(27337596,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --圣刻龙王-阿图姆龙王
Debug.AddCard(27337596,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --圣刻龙王-阿图姆龙王
Debug.AddCard(38495396,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --星圣神龙 托勒密星团M7
Debug.AddCard(49032236,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --No.81 超重型炮塔列车 优越多拉炮
Debug.AddCard(29669359,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK) --No.61 火山恐龙

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)