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
a4f52f9e
Commit
a4f52f9e
authored
Sep 02, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixsun
parent
cbc64188
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expansions/script/c46564767.lua
expansions/script/c46564767.lua
+3
-3
No files found.
expansions/script/c46564767.lua
View file @
a4f52f9e
...
...
@@ -69,7 +69,7 @@ function c46564767.xyzcon(e,c,og,min,max)
minc
=
math.max
(
minc
,
min
)
maxc
=
math.min
(
maxc
,
max
)
end
return
min
<=
max
and
mg
:
IsExists
(
c46564767
.
xyzfilter
,
1
,
sg
,
mg
,
sg
,
min
,
max
,
tp
,
c
)
return
min
c
<=
maxc
and
mg
:
IsExists
(
c46564767
.
xyzfilter
,
1
,
sg
,
mg
,
sg
,
minc
,
maxc
,
tp
,
c
)
end
function
c46564767
.
xyzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
min
,
max
)
local
mg
=
nil
...
...
@@ -98,10 +98,10 @@ function c46564767.xyzop(e,tp,eg,ep,ev,re,r,rp,c,og,min,max)
local
i
=
sg
:
GetCount
()
repeat
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
mg
:
FilterSelect
(
tp
,
c46564767
.
xyzfilter
,
1
,
1
,
sg
,
mg
,
sg
,
min
,
max
,
tp
,
c
)
local
g
=
mg
:
FilterSelect
(
tp
,
c46564767
.
xyzfilter
,
1
,
1
,
sg
,
mg
,
sg
,
min
c
,
maxc
,
tp
,
c
)
sg
:
Merge
(
g
)
i
=
sg
:
GetCount
()
until
i
>=
max
or
(
i
>=
min
and
c46564767
.
xyzgoal
(
sg
,
tp
,
xyzc
)
and
not
(
mg
:
IsExists
(
c46564767
.
xyzfilter
,
1
,
sg
,
mg
,
sg
,
min
,
max
,
tp
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
210
)))
until
i
>=
max
c
or
(
i
>=
minc
and
c46564767
.
xyzgoal
(
sg
,
tp
,
xyzc
)
and
not
(
mg
:
IsExists
(
c46564767
.
xyzfilter
,
1
,
sg
,
mg
,
sg
,
minc
,
maxc
,
tp
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
210
)))
local
tg
=
Group
.
CreateGroup
()
for
tc
in
aux
.
Next
(
sg
)
do
tg
:
Merge
(
tc
:
GetOverlayGroup
())
...
...
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