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
bfb506f0
Commit
bfb506f0
authored
Jul 14, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tuning インフェルノイド・ティエラ
parent
0a6e176c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
procedure.lua
procedure.lua
+21
-5
No files found.
procedure.lua
View file @
bfb506f0
...
@@ -4477,14 +4477,30 @@ function Fusion.MultiOperation(tc,patterns)
...
@@ -4477,14 +4477,30 @@ function Fusion.MultiOperation(tc,patterns)
local
finishable
=
sg
:
GetCount
()
>=
min_req
and
strict_cond
(
e
,
sg
,
gc
,
chkf
)
local
finishable
=
sg
:
GetCount
()
>=
min_req
and
strict_cond
(
e
,
sg
,
gc
,
chkf
)
local
addable
=
Group
.
CreateGroup
()
local
addable
=
Group
.
CreateGroup
()
-- check fcheck on the *current* sg
local
prev_ok
=
true
if
aux
.
FCheckAdditional
~=
nil
then
prev_ok
=
aux
.
FCheckAdditional
(
tc
:
GetOwner
(),
sg
,
tc
)
end
for
_
,
mc
in
ipairs
(
eg_arr
)
do
for
_
,
mc
in
ipairs
(
eg_arr
)
do
if
not
sg
:
IsContains
(
mc
)
then
if
not
sg
:
IsContains
(
mc
)
then
sg
:
AddCard
(
mc
)
sg
:
AddCard
(
mc
)
-- completion test against active patterns
-- early FCheckAdditional prune: if adding this card would cause fcheck to fail, we can not add it
for
_
,
pat
in
ipairs
(
active_patterns
)
do
-- check fcheck again
if
Fusion
.
CanCompleteFromMappings
(
e
,
sg
,
eg
,
pat
.
slots
,
pat
.
matfilter
,
pat
.
fgoalcheck
,
tc
,
gc
,
chkf
)
then
local
new_ok
=
true
addable
:
AddCard
(
mc
)
if
aux
.
FCheckAdditional
~=
nil
then
break
new_ok
=
aux
.
FCheckAdditional
(
tc
:
GetOwner
(),
sg
,
tc
)
end
-- prune if it was OK before but fails now
if
not
(
prev_ok
and
not
new_ok
)
then
-- completion test against active patterns
for
_
,
pat
in
ipairs
(
active_patterns
)
do
if
Fusion
.
CanCompleteFromMappings
(
e
,
sg
,
eg
,
pat
.
slots
,
pat
.
matfilter
,
pat
.
fgoalcheck
,
tc
,
gc
,
chkf
)
then
addable
:
AddCard
(
mc
)
break
end
end
end
end
end
sg
:
RemoveCard
(
mc
)
sg
:
RemoveCard
(
mc
)
...
...
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