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
1838599b
Commit
1838599b
authored
Mar 27, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
newrule
parent
384a1a84
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
2pick/2Pick_Merge.1.2.8.cdb
2pick/2Pick_Merge.1.2.8.cdb
+0
-0
2pick/pick.lua
2pick/pick.lua
+7
-1
No files found.
2pick/2Pick_Merge.1.2.
7
.cdb
→
2pick/2Pick_Merge.1.2.
8
.cdb
View file @
1838599b
No preview for this file type
2pick/pick.lua
View file @
1838599b
...
@@ -4,6 +4,8 @@ io=require("io")
...
@@ -4,6 +4,8 @@ io=require("io")
local
main
=
{[
0
]
=
{},[
1
]
=
{}}
local
main
=
{[
0
]
=
{},[
1
]
=
{}}
local
extra
=
{[
0
]
=
{},[
1
]
=
{}}
local
extra
=
{[
0
]
=
{},[
1
]
=
{}}
local
main_nonadv
=
{[
0
]
=
{},[
1
]
=
{}}
local
main_monster
=
{[
0
]
=
{},[
1
]
=
{}}
local
main_monster
=
{[
0
]
=
{},[
1
]
=
{}}
local
main_spell
=
{[
0
]
=
{},[
1
]
=
{}}
local
main_spell
=
{[
0
]
=
{},[
1
]
=
{}}
local
main_trap
=
{[
0
]
=
{},[
1
]
=
{}}
local
main_trap
=
{[
0
]
=
{},[
1
]
=
{}}
...
@@ -70,11 +72,14 @@ function Auxiliary.LoadDB(p,pool)
...
@@ -70,11 +72,14 @@ function Auxiliary.LoadDB(p,pool)
if
lv
>
4
then
if
lv
>
4
then
table.insert
(
main_adv
[
p
],
code
)
table.insert
(
main_adv
[
p
],
code
)
else
else
table.insert
(
main_plain
[
p
],
code
)
table.insert
(
main_plain
[
p
],
code
)
table.insert
(
main_nonadv
[
p
],
code
)
end
end
elseif
(
cat
&
TYPE_SPELL
)
>
0
then
elseif
(
cat
&
TYPE_SPELL
)
>
0
then
table.insert
(
main_nonadv
[
p
],
code
)
table.insert
(
main_spell
[
p
],
code
)
table.insert
(
main_spell
[
p
],
code
)
elseif
(
cat
&
TYPE_TRAP
)
>
0
then
elseif
(
cat
&
TYPE_TRAP
)
>
0
then
table.insert
(
main_nonadv
[
p
],
code
)
table.insert
(
main_trap
[
p
],
code
)
table.insert
(
main_trap
[
p
],
code
)
end
end
table.insert
(
main
[
p
],
code
)
table.insert
(
main
[
p
],
code
)
...
@@ -182,6 +187,7 @@ function Auxiliary.StartPick(e)
...
@@ -182,6 +187,7 @@ function Auxiliary.StartPick(e)
local
ex_list
=
nil
local
ex_list
=
nil
local
ex_count
=
nil
local
ex_count
=
nil
if
i
==
1
then
if
i
==
1
then
list
=
main_nonadv
count
=
2
count
=
2
ex_list
=
main_plain
ex_list
=
main_plain
ex_count
=
2
ex_count
=
2
...
...
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