Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-2pick
Commits
a58cd559
Commit
a58cd559
authored
Dec 22, 2017
by
wind2009
Committed by
GitHub
Dec 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
seperate m/s/t
parent
6598eccf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
2pick/pick.lua
2pick/pick.lua
+21
-1
No files found.
2pick/pick.lua
View file @
a58cd559
...
...
@@ -4,6 +4,10 @@ io=require("io")
local
main
=
{}
local
extra
=
{}
local
main_monster
=
{}
local
main_spell
=
{}
local
main_trap
=
{}
local
forbidden_check
=
{}
local
limited_check
=
{}
local
semi_limited_check
=
{}
...
...
@@ -47,6 +51,13 @@ function Auxiliary.LoadDB()
if
(
cat
&
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
>
0
then
table.insert
(
extra
,
code
)
elseif
(
cat
&
TYPE_TOKEN
)
==
0
then
if
(
cat
&
TYPE_MONSTER
)
>
0
then
table.insert
(
main_monster
,
code
)
elseif
(
cat
&
TYPE_SPELL
)
>
0
then
table.insert
(
main_spell
,
code
)
elseif
(
cat
&
TYPE_TRAP
)
>
0
then
table.insert
(
main_trap
,
code
)
end
table.insert
(
main
,
code
)
if
forbidden_check
[
code
]
then
table.insert
(
forbidden
,
code
)
...
...
@@ -94,9 +105,18 @@ function Auxiliary.StartPick(e)
list=forbidden
count=1
end]]
for
p
=
0
,
1
do
--[[for p=0,1 do
Auxiliary.SinglePick(p,main,4)
end]]
local
list
=
main_monster
if
i
==
7
or
i
==
8
then
list
=
main_spell
elseif
i
==
9
or
i
==
10
then
list
=
main_trap
end
Auxiliary
.
SinglePick
(
p
,
list
,
4
)
end
for
i
=
1
,
5
do
for
p
=
0
,
1
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment