Commit 3e5eb3fa authored by nanahira's avatar nanahira

fix cards at the last extra pick

parent f51015c6
...@@ -21,6 +21,9 @@ local extra_sp={ ...@@ -21,6 +21,9 @@ local extra_sp={
local xyz_plain={[0]={},[1]={}} local xyz_plain={[0]={},[1]={}}
local xyz_adv={[0]={},[1]={}} local xyz_adv={[0]={},[1]={}}
local extra_fix={62709239,95169481}
local extra_fixpool={[0]=extra_fix,[1]=extra_fix}
function Auxiliary.SplitData(inputstr) function Auxiliary.SplitData(inputstr)
local t={} local t={}
for str in string.gmatch(inputstr,"([^|]+)") do for str in string.gmatch(inputstr,"([^|]+)") do
...@@ -199,7 +202,11 @@ function Auxiliary.StartPick(e) ...@@ -199,7 +202,11 @@ function Auxiliary.StartPick(e)
end end
for i=1,2 do for i=1,2 do
for p=0,1 do for p=0,1 do
if i==1 then
Auxiliary.SinglePick(p,extra,4,nil,nil,false) Auxiliary.SinglePick(p,extra,4,nil,nil,false)
else
Auxiliary.SinglePick(p,extra,2,extra_fixpool,2,false)
end
end end
end end
Auxiliary.SaveDeck() Auxiliary.SaveDeck()
......
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