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
ab74de86
Commit
ab74de86
authored
Jul 14, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
less clone
parent
bfb506f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
procedure.lua
procedure.lua
+4
-3
No files found.
procedure.lua
View file @
ab74de86
...
...
@@ -3646,6 +3646,7 @@ function Fusion.StrictGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
return
Fusion
.
FinalCheck
(
e
,
mg
,
tc
,
fgoalcheck
,
chkf
)
end
--- @param mg_base Group
-- Search mode: find *some* subset of size [grp.min…grp.max] that passes
function
Fusion
.
SearchGroup
(
e
,
leftovers
,
mg_base
,
grp
,
tc
,
fgoalcheck
,
chkf
)
-- pre‐filter by grp.filter
...
...
@@ -3673,9 +3674,9 @@ function Fusion.SearchGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
local
fcheck_ok
=
{}
if
hasFCheck
then
for
i
,
c
in
ipairs
(
matched
)
do
local
tmp
=
mg_base
:
Clone
(
)
tmp
:
Merge
(
Group
.
FromCards
(
c
)
)
fcheck_ok
[
i
]
=
aux
.
FCheckAdditional
(
tc
:
GetOwner
(),
tmp
,
t
c
)
mg_base
:
AddCard
(
c
)
fcheck_ok
[
i
]
=
aux
.
FCheckAdditional
(
tc
:
GetOwner
(),
mg_base
,
tc
)
mg_base
:
RemoveCard
(
c
)
end
else
for
i
=
1
,
#
matched
do
...
...
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