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
5ca14036
Commit
5ca14036
authored
Jan 02, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advanced
parent
bb56ef70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
2pick/pick.lua
2pick/pick.lua
+8
-0
No files found.
2pick/pick.lua
View file @
5ca14036
...
@@ -8,6 +8,9 @@ local main_monster={}
...
@@ -8,6 +8,9 @@ local main_monster={}
local
main_spell
=
{}
local
main_spell
=
{}
local
main_trap
=
{}
local
main_trap
=
{}
local
main_plain
=
{}
local
main_adv
=
{}
local
extra_sp
=
{
local
extra_sp
=
{
[
TYPE_FUSION
]
=
{},
[
TYPE_FUSION
]
=
{},
[
TYPE_SYNCHRO
]
=
{},
[
TYPE_SYNCHRO
]
=
{},
...
@@ -34,6 +37,11 @@ function Auxiliary.LoadDB()
...
@@ -34,6 +37,11 @@ function Auxiliary.LoadDB()
elseif
(
cat
&
TYPE_TOKEN
)
==
0
then
elseif
(
cat
&
TYPE_TOKEN
)
==
0
then
if
(
cat
&
TYPE_MONSTER
)
>
0
then
if
(
cat
&
TYPE_MONSTER
)
>
0
then
table.insert
(
main_monster
,
code
)
table.insert
(
main_monster
,
code
)
if
lv
>
5
then
table.insert
(
main_plain
,
code
)
else
table.insert
(
main_adv
,
code
)
end
elseif
(
cat
&
TYPE_SPELL
)
>
0
then
elseif
(
cat
&
TYPE_SPELL
)
>
0
then
table.insert
(
main_spell
,
code
)
table.insert
(
main_spell
,
code
)
elseif
(
cat
&
TYPE_TRAP
)
>
0
then
elseif
(
cat
&
TYPE_TRAP
)
>
0
then
...
...
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