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
7d8d1851
Commit
7d8d1851
authored
Nov 21, 2017
by
Momobako
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push by Appveyor
parent
6e852997
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
expansions/script/c37564765.lua
expansions/script/c37564765.lua
+5
-5
No files found.
expansions/script/c37564765.lua
View file @
7d8d1851
...
@@ -155,7 +155,7 @@ if Group.SelectUnselect then
...
@@ -155,7 +155,7 @@ if Group.SelectUnselect then
local
ct
=
sg
:
GetCount
()
local
ct
=
sg
:
GetCount
()
local
ag
=
g
:
Filter
(
cm
.
CheckGroupRecursive
,
sg
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
local
ag
=
g
:
Filter
(
cm
.
CheckGroupRecursive
,
sg
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
while
ct
<
max
and
ag
:
GetCount
()
>
0
do
while
ct
<
max
and
ag
:
GetCount
()
>
0
do
local
finish
=
(
ct
>=
min
and
ct
<=
max
and
f
(
sg
,
...
))
local
finish
=
(
ct
>=
min
and
and
ct
<=
max
and
f
(
sg
,
...
))
local
seg
=
sg
:
Clone
()
local
seg
=
sg
:
Clone
()
local
dmin
=
min
-
cg
:
GetCount
()
local
dmin
=
min
-
cg
:
GetCount
()
local
dmax
=
math.min
(
max
-
cg
:
GetCount
(),
g
:
GetCount
())
local
dmax
=
math.min
(
max
-
cg
:
GetCount
(),
g
:
GetCount
())
...
@@ -349,7 +349,7 @@ function cm.XyzProcedureCustomCondition(func,gf,minct,maxct,ext_params)
...
@@ -349,7 +349,7 @@ function cm.XyzProcedureCustomCondition(func,gf,minct,maxct,ext_params)
mg
=
Duel
.
GetMatchingGroup
(
cm
.
XyzProcedureCustomFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
c
,
func
,
ext_params
)
mg
=
Duel
.
GetMatchingGroup
(
cm
.
XyzProcedureCustomFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
c
,
func
,
ext_params
)
end
end
local
sg
=
Group
.
CreateGroup
()
local
sg
=
Group
.
CreateGroup
()
local
ce
=
{
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_MUST_BE_XMATERIAL
)}
local
ce
=
{
Duel
.
IsPlayerAffectedByEffect
(
EFFECT_MUST_BE_XMATERIAL
)}
for
_
,
te
in
ipairs
(
ce
)
do
for
_
,
te
in
ipairs
(
ce
)
do
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
if
not
mg
:
IsContains
(
tc
)
then
return
false
end
if
not
mg
:
IsContains
(
tc
)
then
return
false
end
...
@@ -376,7 +376,7 @@ function cm.XyzProcedureCustomTarget(func,gf,minct,maxct,ext_params)
...
@@ -376,7 +376,7 @@ function cm.XyzProcedureCustomTarget(func,gf,minct,maxct,ext_params)
minc
=
math.max
(
minc
,
min
)
minc
=
math.max
(
minc
,
min
)
maxc
=
math.min
(
maxc
,
max
)
maxc
=
math.min
(
maxc
,
max
)
end
end
local
ce
=
{
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_MUST_BE_XMATERIAL
)}
local
ce
=
{
Duel
.
IsPlayerAffectedByEffect
(
EFFECT_MUST_BE_XMATERIAL
)}
for
_
,
te
in
ipairs
(
ce
)
do
for
_
,
te
in
ipairs
(
ce
)
do
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
sg
:
AddCard
(
tc
)
sg
:
AddCard
(
tc
)
...
@@ -1762,7 +1762,7 @@ return function(e,g,gc,chkfnf)
...
@@ -1762,7 +1762,7 @@ return function(e,g,gc,chkfnf)
if
not
cm
.
FusionFilter_3L
(
gc
,
fc
,
mf
,
sub
)
then
return
false
end
if
not
cm
.
FusionFilter_3L
(
gc
,
fc
,
mf
,
sub
)
then
return
false
end
sg
:
AddCard
(
gc
)
sg
:
AddCard
(
gc
)
end
end
local
ce
=
{
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_MUST_BE_FMATERIAL
)}
local
ce
=
{
Duel
.
IsPlayerAffectedByEffect
(
EFFECT_MUST_BE_FMATERIAL
)}
for
_
,
te
in
ipairs
(
ce
)
do
for
_
,
te
in
ipairs
(
ce
)
do
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
if
not
mg
:
IsContains
(
tc
)
then
return
false
end
if
not
mg
:
IsContains
(
tc
)
then
return
false
end
...
@@ -1782,7 +1782,7 @@ return function(e,tp,eg,ep,ev,re,r,rp,gc,chkfnf)
...
@@ -1782,7 +1782,7 @@ return function(e,tp,eg,ep,ev,re,r,rp,gc,chkfnf)
if
gc
then
if
gc
then
sg
:
AddCard
(
gc
)
sg
:
AddCard
(
gc
)
end
end
local
ce
=
{
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_MUST_BE_FMATERIAL
)}
local
ce
=
{
Duel
.
IsPlayerAffectedByEffect
(
EFFECT_MUST_BE_FMATERIAL
)}
for
_
,
te
in
ipairs
(
ce
)
do
for
_
,
te
in
ipairs
(
ce
)
do
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
sg
:
AddCard
(
tc
)
sg
:
AddCard
(
tc
)
...
...
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