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
384a1a84
Commit
384a1a84
authored
Mar 25, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master-test'
parents
de47c60b
88261571
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
2pick/pick.lua
2pick/pick.lua
+10
-3
No files found.
2pick/pick.lua
View file @
384a1a84
...
@@ -25,6 +25,8 @@ local xyz_adv={[0]={},[1]={}}
...
@@ -25,6 +25,8 @@ local xyz_adv={[0]={},[1]={}}
local
extra_fixed
=
{
62709239
,
95169481
}
local
extra_fixed
=
{
62709239
,
95169481
}
local
special_hanoi_force
=
{[
0
]
=
{
44095762
,
35595518
},[
1
]
=
{
44095762
,
35595518
}}
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
...
@@ -180,9 +182,9 @@ function Auxiliary.StartPick(e)
...
@@ -180,9 +182,9 @@ 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
count
=
3
count
=
2
ex_list
=
main_
new
ex_list
=
main_
plain
ex_count
=
1
ex_count
=
2
elseif
i
<
4
then
elseif
i
<
4
then
list
=
main_plain
list
=
main_plain
count
=
3
count
=
3
...
@@ -225,6 +227,11 @@ function Auxiliary.StartPick(e)
...
@@ -225,6 +227,11 @@ function Auxiliary.StartPick(e)
end
end
end
end
end
end
for
p
=
0
,
1
do
Auxiliary
.
SinglePick
(
p
,
special_hanoi_force
,
1
,
nil
,
nil
,
true
)
end
Auxiliary
.
SaveDeck
()
Auxiliary
.
SaveDeck
()
for
p
=
0
,
1
do
for
p
=
0
,
1
do
if
Duel
.
IsPlayerNeedToPickDeck
(
p
)
then
if
Duel
.
IsPlayerNeedToPickDeck
(
p
)
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