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
090258a1
Commit
090258a1
authored
Jan 20, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-test' of
https://github.com/moecube/ygopro-2pick
parents
e6996d2b
0fabadc6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
2pick/pick.lua
2pick/pick.lua
+10
-7
No files found.
2pick/pick.lua
View file @
090258a1
...
@@ -123,6 +123,9 @@ function Auxiliary.SinglePick(p,list,count,ex_list,ex_count,copy)
...
@@ -123,6 +123,9 @@ function Auxiliary.SinglePick(p,list,count,ex_list,ex_count,copy)
local
sc
=
sg
:
Select
(
p
,
1
,
1
,
nil
):
GetFirst
()
local
sc
=
sg
:
Select
(
p
,
1
,
1
,
nil
):
GetFirst
()
local
tg
=
g1
:
IsContains
(
sc
)
and
g1
or
g2
local
tg
=
g1
:
IsContains
(
sc
)
and
g1
or
g2
local
rg
=
g1
:
IsContains
(
sc
)
and
g2
or
g1
local
rg
=
g1
:
IsContains
(
sc
)
and
g2
or
g1
if
sc
:
IsLocation
(
LOCATION_DECK
)
then
Duel
.
ConfirmCards
(
p
,
tg
)
end
Duel
.
Exile
(
rg
,
REASON_RULE
)
Duel
.
Exile
(
rg
,
REASON_RULE
)
if
copy
then
if
copy
then
local
g3
=
Group
.
CreateGroup
()
local
g3
=
Group
.
CreateGroup
()
...
@@ -158,13 +161,13 @@ function Auxiliary.StartPick(e)
...
@@ -158,13 +161,13 @@ function Auxiliary.StartPick(e)
Auxiliary
.
SinglePick
(
p
,
list
,
count
,
ex_list
,
ex_count
,
true
)
Auxiliary
.
SinglePick
(
p
,
list
,
count
,
ex_list
,
ex_count
,
true
)
end
end
end
end
for
p
=
0
,
1
do
--
for p=0,1 do
if
Duel
.
IsPlayerNeedToPickDeck
(
p
)
then
--
if Duel.IsPlayerNeedToPickDeck(p) then
Duel
.
ResetTimeLimit
(
p
,
70
)
--
Duel.ResetTimeLimit(p,70)
local
cg
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_DECK
,
0
)
--
local cg=Duel.GetFieldGroup(p,LOCATION_DECK,0)
Duel
.
ConfirmCards
(
p
,
cg
)
--
Duel.ConfirmCards(p,cg)
end
--
end
end
--
end
for
tp
,
list
in
pairs
(
extra_sp
)
do
for
tp
,
list
in
pairs
(
extra_sp
)
do
if
tp
~=
TYPE_FUSION
then
if
tp
~=
TYPE_FUSION
then
for
p
=
0
,
1
do
for
p
=
0
,
1
do
...
...
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