Commit 137219c2 authored by nanahira's avatar nanahira

Pick facedown

parent d6d85748
...@@ -66,10 +66,12 @@ function Auxiliary.SinglePick(p,list,count) ...@@ -66,10 +66,12 @@ function Auxiliary.SinglePick(p,list,count)
local code=list[math.random(#list)] local code=list[math.random(#list)]
g:AddCard(Duel.CreateToken(p,code)) g:AddCard(Duel.CreateToken(p,code))
end end
Duel.Remove(g,POS_FACEUP,REASON_RULE) Duel.Remove(g,POS_FACEDOWN,REASON_RULE)
end end
local sg=g1:Clone() local sg=g1:Clone()
sg:Merge(g2) sg:Merge(g2)
Duel.ConfirmCards(p,sg)
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
local rg=g1:IsContains(sc) and g2 or g1 local rg=g1:IsContains(sc) and g2 or g1
......
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