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
d4592323
Commit
d4592323
authored
Dec 31, 2025
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prune check for level in SynMixCheckRecursive
parent
ac775dc3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
procedure.lua
procedure.lua
+18
-1
No files found.
procedure.lua
View file @
d4592323
...
@@ -161,6 +161,15 @@ end
...
@@ -161,6 +161,15 @@ end
function
Auxiliary
.
GetSynchroLevelFlowerCardian
(
c
)
function
Auxiliary
.
GetSynchroLevelFlowerCardian
(
c
)
return
2
return
2
end
end
function
Auxiliary
.
GetMinSynchroLevel
(
c
,
syncard
)
local
lv
=
c
:
GetSynchroLevel
(
syncard
)
local
minlv
=
c
:
GetLevel
()
while
lv
&
MAX_PARAMETER
>
0
do
minlv
=
math.min
(
minlv
,
lv
&
MAX_PARAMETER
)
lv
=
lv
>>
16
end
return
minlv
end
function
Auxiliary
.
GetSynMaterials
(
tp
,
syncard
)
function
Auxiliary
.
GetSynMaterials
(
tp
,
syncard
)
local
mg
=
Duel
.
GetSynchroMaterial
(
tp
):
Filter
(
Auxiliary
.
SynMaterialFilter
,
nil
,
syncard
)
local
mg
=
Duel
.
GetSynchroMaterial
(
tp
):
Filter
(
Auxiliary
.
SynMaterialFilter
,
nil
,
syncard
)
if
mg
:
IsExists
(
Card
.
GetHandSynchro
,
1
,
nil
)
then
if
mg
:
IsExists
(
Card
.
GetHandSynchro
,
1
,
nil
)
then
...
@@ -339,7 +348,15 @@ function Auxiliary.SynMixCheckRecursive(c,tp,sg,mg,ct,minc,maxc,syncard,sg1,smat
...
@@ -339,7 +348,15 @@ function Auxiliary.SynMixCheckRecursive(c,tp,sg,mg,ct,minc,maxc,syncard,sg1,smat
sg
:
AddCard
(
c
)
sg
:
AddCard
(
c
)
ct
=
ct
+
1
ct
=
ct
+
1
local
res
=
Auxiliary
.
SynMixCheckGoal
(
tp
,
sg
,
minc
,
ct
,
syncard
,
sg1
,
smat
,
gc
,
mgchk
)
local
res
=
Auxiliary
.
SynMixCheckGoal
(
tp
,
sg
,
minc
,
ct
,
syncard
,
sg1
,
smat
,
gc
,
mgchk
)
or
(
ct
<
maxc
and
mg
:
IsExists
(
Auxiliary
.
SynMixCheckRecursive
,
1
,
sg
,
tp
,
sg
,
mg
,
ct
,
minc
,
maxc
,
syncard
,
sg1
,
smat
,
gc
,
mgchk
))
if
not
res
and
ct
<
maxc
then
local
g
=
sg
:
Clone
()
g
:
Merge
(
sg1
)
local
maxlv
=
syncard
:
GetLevel
()
local
sumlv
=
g
:
GetSum
(
Auxiliary
.
GetMinSynchroLevel
,
syncard
)
if
sumlv
<
maxlv
or
g
:
IsExists
(
Card
.
IsHasEffect
,
1
,
nil
,
89818984
)
and
#
g
<
maxlv
/
2
then
res
=
mg
:
IsExists
(
Auxiliary
.
SynMixCheckRecursive
,
1
,
sg
,
tp
,
sg
,
mg
,
ct
,
minc
,
maxc
,
syncard
,
sg1
,
smat
,
gc
,
mgchk
)
end
end
sg
:
RemoveCard
(
c
)
sg
:
RemoveCard
(
c
)
ct
=
ct
-
1
ct
=
ct
-
1
return
res
return
res
...
...
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