游戏王残局简化版

Artifact [5953051e05]
Login

Artifact [5953051e05]

Artifact 5953051e05d3f4def267d998a65f31e25635838525eb107310d0e5f31a5615b6:


--[[message
Multiple attackers are fun when you can abuse them. Even funnier if they can attack directly.
]]

--~ 必须位于残局文件顶部
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)


Debug.SetAIName("Naim")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI+DUEL_PSEUDO_SHUFFLE,5)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,14900,0,0)

local e0=Effect.GlobalEffect()
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_ADJUST)
e0:SetCountLimit(1)
e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(0)>0 end)
e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,2,2,nil)
if g:GetCount()>0 then
  Duel.SendtoHand(g,nil,REASON_RULE)
end end)
Duel.RegisterEffect(e0,0)

--your hand
Debug.AddCard(97949165,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)		--turquoise
Debug.AddCard(34550857,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)		--cobalt
Debug.AddCard(85431040,0,0,LOCATION_HAND,0,POS_FACEUP_ATTACK)		--evil thorn
Debug.AddCard(45452224,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)		--where arf thou
Debug.AddCard(43422537,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)		--double summon

--your deck
Debug.AddCard(85431040,0,0,LOCATION_DECK,0,POS_FACEDOWN)			--evil thorn
Debug.AddCard(85431040,0,0,LOCATION_DECK,0,POS_FACEDOWN)			--evil thorn
Debug.AddCard(60954556,0,0,LOCATION_DECK,0,POS_FACEDOWN)			--sapphire
Debug.AddCard(60954556,0,0,LOCATION_DECK,0,POS_FACEDOWN)			--sapphire

--your extra deck
Debug.AddCard(8491961,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)		--recite starling
Debug.AddCard(8491961,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)		--recite starling
Debug.AddCard(48608796,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)		--assembly nightingale

--opponent's
Debug.AddCard(46986414,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)		--Legendary Fisherman III

--Insert any message here
--insert additional message here
Debug.ReloadFieldEnd()
aux.BeginPuzzle()


fun["开局添加手卡"](2)