游戏王残局简化版

[WCS2006]02_joker.lua at [573d4bccaf]
Login

[WCS2006]02_joker.lua at [573d4bccaf]

File [WCS2006]02_joker.lua artifact 7ece911cb4 part of check-in 573d4bccaf


--[[message
卡数:10
规则:大师3
]]
Debug.SetAIName("[WCS2006]02_joker")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)

Debug.SetPlayerInfo(0,900,0,0)
Debug.SetPlayerInfo(1,2900,0,0)

Debug.AddCard(00423585,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(64788463,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(25652259,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(90876561,0,0,LOCATION_DECK,0,POS_FACEDOWN)

Debug.AddCard(25334372,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(24094653,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(70828912,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(32807846,0,0,LOCATION_HAND,0,POS_FACEDOWN)

Debug.AddCard(00423585,0,0,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
Debug.AddCard(93445074,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

Debug.AddCard(34460239,0,0,LOCATION_SZONE,2,POS_FACEDOWN)

Debug.AddCard(06150044,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)

Debug.ReloadFieldEnd()
--~ Debug.ShowHint("1回合內取得勝利")
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)