Commit 3e277f31 authored by nanahira's avatar nanahira

pick detect

parent a09fdbdc
......@@ -132,6 +132,11 @@ end
function Auxiliary.StartPick(e)
math.randomseed(os.time())
local g=Duel.GetFieldGroup(0,LOCATION_HAND | LOCATION_DECK | LOCATION_EXTRA, LOCATION_HAND | LOCATION_DECK | LOCATION_EXTRA)
if g:GetCount()>80 then
--already picked
e:Reset()
return
end
Duel.Exile(g,REASON_RULE)
for i=1,5 do
--[[local list=main
......
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