Commit 586bc046 authored by Wind's avatar Wind

packed update

parent 297acb48
...@@ -125,11 +125,12 @@ function Auxiliary.SinglePick(p,list,count,ex_list,ex_count,copy,lv_diff,fixed,p ...@@ -125,11 +125,12 @@ function Auxiliary.SinglePick(p,list,count,ex_list,ex_count,copy,lv_diff,fixed,p
local thispack=math.random(#packed) local thispack=math.random(#packed)
if thispack~=lastpack then if thispack~=lastpack then
lastpack=thispack lastpack=thispack
for code in pairs(packed[thispack]) do for _,code in ipairs(packed[thispack]) do
local card=Duel.CreateToken(p,code) local card=Duel.CreateToken(p,code)
g:AddCard(card) g:AddCard(card)
ag:AddCard(card) ag:AddCard(card)
end end
break
end end
end end
end end
......
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