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
3bbed542
Commit
3bbed542
authored
Apr 26, 2018
by
wind2009
Committed by
GitHub
Apr 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pick.lua
parent
db0833e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
17 deletions
+8
-17
2pick/pick.lua
2pick/pick.lua
+8
-17
No files found.
2pick/pick.lua
View file @
3bbed542
...
...
@@ -27,7 +27,7 @@ local xyz_adv={[0]={},[1]={}}
local
extra_fixed
=
{
62709239
,
95169481
}
local
special_
hanoi_force
=
{[
0
]
=
{
44095762
,
35595518
},[
1
]
=
{
44095762
,
35595518
}}
local
special_
elemental_lord
=
{[
0
]
=
{
8192327
,
13959634
,
35842855
,
53027855
,
59281822
,
61468779
},[
1
]
=
{
8192327
,
13959634
,
35842855
,
53027855
,
59281822
,
61468779
}}
function
Auxiliary
.
SplitData
(
inputstr
)
local
t
=
{}
...
...
@@ -185,15 +185,17 @@ function Auxiliary.StartPick(e)
local
ex_list
=
nil
local
ex_count
=
nil
if
i
==
1
then
list
=
main_
nonadv
count
=
2
ex_list
=
main_plain
ex_count
=
2
elseif
i
<
4
then
list
=
main_
plain
count
=
3
ex_list
=
special_elemental_lord
ex_count
=
1
elseif
i
==
2
then
list
=
main_plain
count
=
3
ex_list
=
main_adv
ex_count
=
1
elseif
i
==
3
then
list
=
main_plain
elseif
i
==
4
then
list
=
main_spell
elseif
i
==
5
then
...
...
@@ -203,13 +205,6 @@ function Auxiliary.StartPick(e)
Auxiliary
.
SinglePick
(
p
,
list
,
count
,
ex_list
,
ex_count
,
true
)
end
end
--for p=0,1 do
-- if Duel.IsPlayerNeedToPickDeck(p) then
-- Duel.ResetTimeLimit(p,70)
-- local cg=Duel.GetFieldGroup(p,LOCATION_DECK,0)
-- Duel.ConfirmCards(p,cg)
-- end
--end
for
tp
,
list
in
pairs
(
extra_sp
)
do
if
tp
~=
TYPE_FUSION
then
for
p
=
0
,
1
do
...
...
@@ -232,10 +227,6 @@ function Auxiliary.StartPick(e)
end
end
for
p
=
0
,
1
do
Auxiliary
.
SinglePick
(
p
,
special_hanoi_force
,
1
,
nil
,
nil
,
true
)
end
Auxiliary
.
SaveDeck
()
for
p
=
0
,
1
do
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