Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
c6bab92c
You need to sign in or sign up before continuing.
Commit
c6bab92c
authored
Jan 03, 2026
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
798182ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
procedure.lua
procedure.lua
+11
-12
No files found.
procedure.lua
View file @
c6bab92c
...
...
@@ -270,7 +270,8 @@ function Auxiliary.SynMixTarget(f1,f2,f3,f4,minct,maxct,gc)
else
mg2
:
Sub
(
g
)
end
local
cg
=
mg2
:
Filter
(
Auxiliary
.
SynMixCheckRecursive
,
g4
,
tp
,
g4
,
mg2
,
i
,
minc
,
maxc
,
c
,
g
,
smat
,
gc
,
mgchk
)
local
fulltraversal
=
mg
:
IsExists
(
Card
.
IsHasEffect
,
1
,
nil
,
89818984
)
local
cg
=
mg2
:
Filter
(
Auxiliary
.
SynMixCheckRecursive
,
g4
,
tp
,
g4
,
mg2
,
i
,
minc
,
maxc
,
c
,
g
,
smat
,
gc
,
mgchk
,
fulltraversal
)
if
cg
:
GetCount
()
==
0
then
break
end
local
finish
=
Auxiliary
.
SynMixCheckGoal
(
tp
,
g4
,
minc
,
i
,
c
,
g
,
smat
,
gc
,
mgchk
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SMATERIAL
)
...
...
@@ -335,22 +336,16 @@ function Auxiliary.SynMixFilter4(c,f4,minc,maxc,syncard,mg1,smat,c1,c2,c3,gc,mgc
else
mg
:
Sub
(
sg
)
end
local
fulltraversal
=#
mg
<=
5
or
mg1
:
IsExists
(
Card
.
IsHasEffect
,
1
,
nil
,
89818984
)
return
Auxiliary
.
SynMixCheck
(
mg
,
sg
,
minc
-
1
,
maxc
-
1
,
syncard
,
smat
,
gc
,
mgchk
,
fulltraversal
)
return
Auxiliary
.
SynMixCheck
(
mg
,
sg
,
minc
-
1
,
maxc
-
1
,
syncard
,
mg1
,
smat
,
gc
,
mgchk
)
end
function
Auxiliary
.
SynMixCheck
(
mg
,
sg1
,
minc
,
maxc
,
syncard
,
smat
,
gc
,
mgchk
,
fulltraversal
)
function
Auxiliary
.
SynMixCheck
(
mg
,
sg1
,
minc
,
maxc
,
syncard
,
mg1
,
smat
,
gc
,
mgchk
)
local
tp
=
syncard
:
GetControler
()
local
sg
=
Group
.
CreateGroup
()
if
minc
<=
0
and
Auxiliary
.
SynMixCheckGoal
(
tp
,
sg1
,
0
,
0
,
syncard
,
sg
,
smat
,
gc
,
mgchk
)
then
return
true
end
if
maxc
==
0
then
return
false
end
local
fulltraversal
=#
mg
<=
5
or
mg1
:
IsExists
(
Card
.
IsHasEffect
,
1
,
nil
,
89818984
)
return
mg
:
IsExists
(
Auxiliary
.
SynMixCheckRecursive
,
1
,
nil
,
tp
,
sg
,
mg
,
0
,
minc
,
maxc
,
syncard
,
sg1
,
smat
,
gc
,
mgchk
,
fulltraversal
)
end
function
Auxiliary
.
SynMixCheckPrune
(
sg
,
sg1
,
syncard
)
local
g
=
sg
:
Clone
()
g
:
Merge
(
sg1
)
local
sumlv
=
g
:
GetSum
(
Auxiliary
.
GetMinSynchroLevel
,
syncard
)
return
sumlv
>=
syncard
:
GetLevel
()
end
function
Auxiliary
.
SynMixCheckRecursive
(
c
,
tp
,
sg
,
mg
,
ct
,
minc
,
maxc
,
syncard
,
sg1
,
smat
,
gc
,
mgchk
,
fulltraversal
)
sg
:
AddCard
(
c
)
ct
=
ct
+
1
...
...
@@ -363,6 +358,11 @@ function Auxiliary.SynMixCheckRecursive(c,tp,sg,mg,ct,minc,maxc,syncard,sg1,smat
ct
=
ct
-
1
return
res
end
function
Auxiliary
.
SynMixCheckPrune
(
sg
,
sg1
,
syncard
)
local
g
=
sg
+
sg1
local
sumlv
=
g
:
GetSum
(
Auxiliary
.
GetMinSynchroLevel
,
syncard
)
return
sumlv
>=
syncard
:
GetLevel
()
end
-- the material is in hand and don't has extra synchro material effect itself
-- that mean some other tuner added it as material
function
Auxiliary
.
SynMixHandFilter
(
c
,
tp
,
syncard
)
...
...
@@ -397,8 +397,7 @@ function Auxiliary.SynMixHandCheck(g,tp,syncard)
end
function
Auxiliary
.
SynMixCheckGoal
(
tp
,
sg
,
minc
,
ct
,
syncard
,
sg1
,
smat
,
gc
,
mgchk
)
if
ct
<
minc
then
return
false
end
local
g
=
sg
:
Clone
()
g
:
Merge
(
sg1
)
local
g
=
sg
+
sg1
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
syncard
)
<=
0
then
return
false
end
if
gc
and
not
gc
(
g
,
syncard
,
tp
)
then
return
false
end
if
smat
and
not
g
:
IsContains
(
smat
)
then
return
false
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