Commit 5d7a7c68 authored by wind2009's avatar wind2009 Committed by GitHub

fix SinglePickForMain

parent a0e06c55
......@@ -110,11 +110,11 @@ function Auxiliary.SinglePickForMain(p,list,count)
--Duel.SendtoDeck(tg,p,0,REASON_RULE)
Duel.Exile(rg,REASON_RULE)
local g3=Group.CreateGroup()
for nc in aux.Next(g3) do
for nc in aux.Next(tg) do
local copy_code=nc:GetOriginCode()
g3:AddCard(Duel.CreateToken(p,copy_code))
end
Duel.SendtoDeck(g,nil,0,REASON_RULE)
Duel.SendtoDeck(g3,nil,0,REASON_RULE)
end
function Auxiliary.StartPick(e)
......
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