Commit 6b83cf5b authored by wind2009's avatar wind2009 Committed by GitHub

Add confirm decks

parent 3fd77017
...@@ -97,7 +97,7 @@ function Auxiliary.SinglePick(p,list,count,ex_list,ex_count,copy) ...@@ -97,7 +97,7 @@ function Auxiliary.SinglePick(p,list,count,ex_list,ex_count,copy)
end end
local sg=g1:Clone() local sg=g1:Clone()
sg:Merge(g2) sg:Merge(g2)
Duel.ResetTimeLimit(p,60) Duel.ResetTimeLimit(p,70)
Duel.Hint(HINT_SELECTMSG,p,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,p,HINTMSG_TODECK)
local sc=sg:Select(p,1,1,nil):GetFirst() local sc=sg:Select(p,1,1,nil):GetFirst()
local tg=g1:IsContains(sc) and g1 or g2 local tg=g1:IsContains(sc) and g1 or g2
...@@ -138,6 +138,11 @@ function Auxiliary.StartPick(e) ...@@ -138,6 +138,11 @@ function Auxiliary.StartPick(e)
Auxiliary.SinglePick(p,list,count,ex_list,ex_count,true) Auxiliary.SinglePick(p,list,count,ex_list,ex_count,true)
end end
end end
for p=0,1 do
Duel.ResetTimeLimit(i,70)
local cg=Duel.GetFieldGroup(i,LOCATION_DECK,0)
Duel.ConfirmCards(i,cg)
end
for tp,list in pairs(extra_sp) do for tp,list in pairs(extra_sp) do
if tp~=TYPE_FUSION then if tp~=TYPE_FUSION then
for p=0,1 do for p=0,1 do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment