Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
List
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
REIKAI
ygopro
Commits
e9f37a42
Commit
e9f37a42
authored
Mar 23, 2019
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update SinglePick
parent
5751227a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
2pick/pick.lua
2pick/pick.lua
+10
-1
No files found.
2pick/pick.lua
View file @
e9f37a42
...
@@ -100,7 +100,7 @@ function Auxiliary.SaveDeck()
...
@@ -100,7 +100,7 @@ function Auxiliary.SaveDeck()
Duel
.
SavePickDeck
(
p
,
g
)
Duel
.
SavePickDeck
(
p
,
g
)
end
end
end
end
function
Auxiliary
.
SinglePick
(
p
,
list
,
count
,
ex_list
,
ex_count
,
copy
,
lv_diff
,
fixed
,
packed
)
function
Auxiliary
.
SinglePick
(
p
,
list
,
count
,
ex_list
,
ex_count
,
copy
,
lv_diff
,
fixed
,
packed
,
optional
)
if
not
Duel
.
IsPlayerNeedToPickDeck
(
p
)
then
return
end
if
not
Duel
.
IsPlayerNeedToPickDeck
(
p
)
then
return
end
local
g1
=
Group
.
CreateGroup
()
local
g1
=
Group
.
CreateGroup
()
local
g2
=
Group
.
CreateGroup
()
local
g2
=
Group
.
CreateGroup
()
...
@@ -166,6 +166,14 @@ function Auxiliary.SinglePick(p,list,count,ex_list,ex_count,copy,lv_diff,fixed,p
...
@@ -166,6 +166,14 @@ function Auxiliary.SinglePick(p,list,count,ex_list,ex_count,copy,lv_diff,fixed,p
end
end
Duel
.
ResetTimeLimit
(
p
,
90
)
Duel
.
ResetTimeLimit
(
p
,
90
)
if
optional
and
ag
:
GetFirst
():
IsLocation
(
LOCATION_DECK
)
then
Duel
.
ConfirmCards
(
p
,
ag
)
if
Duel
.
SelectOption
(
tp
,
1190
,
1192
)
==
1
then
Duel
.
Exile
(
ag
,
REASON_RULE
)
return
false
end
end
local
tg
=
Group
.
CreateGroup
()
local
tg
=
Group
.
CreateGroup
()
local
rg
=
ag
local
rg
=
ag
while
true
do
while
true
do
...
@@ -189,6 +197,7 @@ function Auxiliary.SinglePick(p,list,count,ex_list,ex_count,copy,lv_diff,fixed,p
...
@@ -189,6 +197,7 @@ function Auxiliary.SinglePick(p,list,count,ex_list,ex_count,copy,lv_diff,fixed,p
end
end
Duel
.
SendtoDeck
(
g3
,
nil
,
0
,
REASON_RULE
)
Duel
.
SendtoDeck
(
g3
,
nil
,
0
,
REASON_RULE
)
end
end
return
true
end
end
function
Auxiliary
.
ArbitraryPick
(
p
,
count
,
pick_lists
,
lists_count
,
copy
,
lv_diff
,
fixed
)
function
Auxiliary
.
ArbitraryPick
(
p
,
count
,
pick_lists
,
lists_count
,
copy
,
lv_diff
,
fixed
)
if
not
Duel
.
IsPlayerNeedToPickDeck
(
p
)
then
return
end
if
not
Duel
.
IsPlayerNeedToPickDeck
(
p
)
then
return
end
...
...
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