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
af2be8cd
Commit
af2be8cd
authored
Dec 09, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pick_extra_first
parent
1bde51db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
expansions/pick.lua
expansions/pick.lua
+5
-6
No files found.
expansions/pick.lua
View file @
af2be8cd
...
@@ -80,7 +80,11 @@ function Auxiliary.StartPick(e)
...
@@ -80,7 +80,11 @@ function Auxiliary.StartPick(e)
math.randomseed
(
os.time
())
math.randomseed
(
os.time
())
local
g
=
Duel
.
GetFieldGroup
(
0
,
LOCATION_HAND
|
LOCATION_DECK
|
LOCATION_EXTRA
,
LOCATION_HAND
|
LOCATION_DECK
|
LOCATION_EXTRA
)
local
g
=
Duel
.
GetFieldGroup
(
0
,
LOCATION_HAND
|
LOCATION_DECK
|
LOCATION_EXTRA
,
LOCATION_HAND
|
LOCATION_DECK
|
LOCATION_EXTRA
)
Duel
.
Exile
(
g
,
REASON_RULE
)
Duel
.
Exile
(
g
,
REASON_RULE
)
local
pick_count
=
1
for
i
=
1
,
5
do
for
p
=
0
,
1
do
Auxiliary
.
SinglePick
(
p
,
extra
)
end
end
for
i
=
1
,
10
do
for
i
=
1
,
10
do
local
list
=
main
local
list
=
main
if
i
==
7
then
list
=
semi_limited
if
i
==
7
then
list
=
semi_limited
...
@@ -90,11 +94,6 @@ function Auxiliary.StartPick(e)
...
@@ -90,11 +94,6 @@ function Auxiliary.StartPick(e)
Auxiliary
.
SinglePick
(
p
,
list
)
Auxiliary
.
SinglePick
(
p
,
list
)
end
end
end
end
for
i
=
1
,
5
do
for
p
=
0
,
1
do
Auxiliary
.
SinglePick
(
p
,
extra
)
end
end
Duel
.
ShuffleDeck
(
0
)
Duel
.
ShuffleDeck
(
0
)
Duel
.
ShuffleDeck
(
1
)
Duel
.
ShuffleDeck
(
1
)
Duel
.
Draw
(
0
,
4
,
REASON_RULE
)
Duel
.
Draw
(
0
,
4
,
REASON_RULE
)
...
...
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