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
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
Commits
288bc2f6
Commit
288bc2f6
authored
Oct 12, 2023
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pick rule & pool
parent
4ce1e99c
Pipeline
#23729
failed with stages
in 2 minutes and 52 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
162 additions
and
46 deletions
+162
-46
2pick/2Pick_Merge.2.0.3.01.cdb
2pick/2Pick_Merge.2.0.3.01.cdb
+0
-0
2pick/pick.lua
2pick/pick.lua
+162
-46
No files found.
2pick/2Pick_Merge.2.0.
2.14
.cdb
→
2pick/2Pick_Merge.2.0.
3.01
.cdb
View file @
288bc2f6
No preview for this file type
2pick/pick.lua
View file @
288bc2f6
...
...
@@ -295,6 +295,12 @@ function Auxiliary.StartPick(e)
end
end
]]
--
-- 50% chance reverse pick
local
playerReversePick
=
Duel
.
TossCoin
(
p
,
1
)
if
playerReversePick
~=
0
then
-- main deck
for
i
=
1
,
5
do
local
lists
=
{[
1
]
=
main_monster
,[
3
]
=
main_spell
,[
4
]
=
main_trap
}
local
lists_count
=
{[
1
]
=
4
,[
3
]
=
2
,[
4
]
=
2
}
...
...
@@ -308,7 +314,6 @@ function Auxiliary.StartPick(e)
Auxiliary
.
ArbitraryPick
(
p
,
4
,
lists
,
lists_count
)
end
end
-- combo pick
for
t
=
2
,
0
,
-
1
do
local
reroll
=
t
>
0
...
...
@@ -322,7 +327,35 @@ function Auxiliary.StartPick(e)
break
end
end
-- extra pick
for
tp
,
list
in
pairs
(
extra_sp
)
do
if
tp
~=
TYPE_FUSION
then
for
p
=
0
,
1
do
lists
=
{[
1
]
=
list
}
counts
=
{[
1
]
=
8
}
lv_diff
=
false
if
tp
==
TYPE_XYZ
then
lists
[
1
]
=
xyz_plain
counts
[
1
]
=
6
lists
[
2
]
=
xyz_adv
counts
[
2
]
=
2
elseif
tp
==
TYPE_SYNCHRO
then
counts
[
1
]
=
4
lists
[
2
]
=
list
counts
[
2
]
=
4
lv_diff
=
true
end
Auxiliary
.
ArbitraryPick
(
p
,
4
,
lists
,
counts
,
false
,
lv_diff
)
end
end
end
for
p
=
0
,
1
do
lists
=
{[
1
]
=
extra
}
counts
=
{[
1
]
=
6
}
Auxiliary
.
ArbitraryPick
(
p
,
4
,
lists
,
counts
,
false
,
false
,
extra_fixed
)
end
else
-- extra pick
for
tp
,
list
in
pairs
(
extra_sp
)
do
if
tp
~=
TYPE_FUSION
then
for
p
=
0
,
1
do
...
...
@@ -349,6 +382,89 @@ function Auxiliary.StartPick(e)
counts
=
{[
1
]
=
6
}
Auxiliary
.
ArbitraryPick
(
p
,
4
,
lists
,
counts
,
false
,
false
,
extra_fixed
)
end
-- combo pick
for
t
=
2
,
0
,
-
1
do
local
reroll
=
t
>
0
if
Auxiliary
.
SinglePick
(
0
,
main
,
0
,
nil
,
nil
,
false
,
false
,
nil
,
combo_pack
.
pack
,
reroll
)
then
break
end
end
for
t
=
1
,
0
,
-
1
do
local
reroll
=
t
>
0
if
Auxiliary
.
SinglePick
(
1
,
main
,
0
,
nil
,
nil
,
false
,
false
,
nil
,
combo_pack
.
pack
,
reroll
)
then
break
end
end
-- main deck
for
i
=
1
,
5
do
local
lists
=
{[
1
]
=
main_monster
,[
3
]
=
main_spell
,[
4
]
=
main_trap
}
local
lists_count
=
{[
1
]
=
4
,[
3
]
=
2
,[
4
]
=
2
}
if
i
==
1
or
i
==
2
then
lists
[
1
]
=
main_plain
lists_count
[
1
]
=
2
lists
[
2
]
=
main_adv
lists_count
[
2
]
=
2
end
for
p
=
0
,
1
do
Auxiliary
.
ArbitraryPick
(
p
,
4
,
lists
,
lists_count
)
end
end
end
-- for i=1,5 do
-- local lists={[1]=main_monster,[3]=main_spell,[4]=main_trap}
-- local lists_count={[1]=4,[3]=2,[4]=2}
-- if i==1 or i==2 then
-- lists[1]=main_plain
-- lists_count[1]=2
-- lists[2]=main_adv
-- lists_count[2]=2
-- end
-- for p=0,1 do
-- Auxiliary.ArbitraryPick(p,4,lists,lists_count)
-- end
-- end
-- -- combo pick
-- for t=2,0,-1 do
-- local reroll=t>0
-- if Auxiliary.SinglePick(0,main,0,nil,nil,false,false,nil,combo_pack.pack,reroll) then
-- break
-- end
-- end
-- for t=1,0,-1 do
-- local reroll=t>0
-- if Auxiliary.SinglePick(1,main,0,nil,nil,false,false,nil,combo_pack.pack,reroll) then
-- break
-- end
-- end
-- for tp,list in pairs(extra_sp) do
-- if tp~=TYPE_FUSION then
-- for p=0,1 do
-- lists ={[1]=list}
-- counts={[1]=8}
-- lv_diff=false
-- if tp==TYPE_XYZ then
-- lists[1]=xyz_plain
-- counts[1]=6
-- lists[2]=xyz_adv
-- counts[2]=2
-- elseif tp==TYPE_SYNCHRO then
-- counts[1]=4
-- lists[2]=list
-- counts[2]=4
-- lv_diff=true
-- end
-- Auxiliary.ArbitraryPick(p,4,lists,counts,false,lv_diff)
-- end
-- end
-- end
-- for p=0,1 do
-- lists ={[1]=extra}
-- counts={[1]=6}
-- Auxiliary.ArbitraryPick(p,4,lists,counts,false,false,extra_fixed)
-- end
-- -- XXYYZZ Additional Picks
-- xyz_list={91998119,91998120,91998121}
...
...
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