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
0a6e176c
Commit
0a6e176c
authored
Jul 14, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tuning インフェルノイド・ティエラ
parent
52ed02e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
2 deletions
+51
-2
c82734805.lua
c82734805.lua
+0
-1
procedure.lua
procedure.lua
+51
-1
No files found.
c82734805.lua
View file @
0a6e176c
...
...
@@ -3,7 +3,6 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
-- aux.AddFusionProcCode2FunRep(c,14799437,23440231,aux.FilterBoolFunction(Card.IsFusionSetCard,0xbb),1,127,true,true)
Fusion
.
AddFusionProcedure
(
c
,{
slots
=
{
Fusion
.
Slot
.
Code
(
14799437
),
...
...
procedure.lua
View file @
0a6e176c
...
...
@@ -3667,6 +3667,40 @@ function Fusion.SearchGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
return
false
end
end
-- Compute a parallel fcheck array
local
hasFCheck
=
aux
.
FCheckAdditional
~=
nil
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
,
tc
)
end
else
for
i
=
1
,
#
matched
do
fcheck_ok
[
i
]
=
false
end
end
-- Stable-sort matched so that fcheck_ok==true come first
local
order
=
{}
for
i
=
1
,
#
matched
do
order
[
i
]
=
i
end
table.sort
(
order
,
function
(
a
,
b
)
-- place true before false, keep original order otherwise
if
fcheck_ok
[
a
]
~=
fcheck_ok
[
b
]
then
return
fcheck_ok
[
a
]
else
return
a
<
b
end
end
)
local
sorted
=
{}
for
_
,
idx
in
ipairs
(
order
)
do
table.insert
(
sorted
,
matched
[
idx
])
end
matched
=
sorted
local
comb
=
{}
local
function
dfs
(
start
,
depth
)
...
...
@@ -3711,7 +3745,16 @@ function Fusion.SearchGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
comb
[
depth
]
=
matched
[
i
]
local
prune
=
false
local
partial
=
{
table.unpack
(
comb
,
1
,
depth
)}
-- early FCheckAdditional prune
if
not
prune
and
hasFCheck
then
-- build a temporary Group with mg_base + the new partial comb
local
mg_p
=
mg_base
:
Clone
()
mg_p
:
Merge
(
Group
.
FromCards
(
table.unpack
(
partial
)))
-- if it fails, mark prune = true
if
not
aux
.
FCheckAdditional
(
tc
:
GetOwner
(),
mg_p
,
tc
)
then
prune
=
true
end
end
-- early unique_by prune on partial subset via UniqueByMatching
if
not
prune
and
grp
.
unique_by
then
local
part_matcher
=
Fusion
.
UniqueByMatching
(
grp
.
unique_by
,
#
partial
)
...
...
@@ -3727,6 +3770,13 @@ function Fusion.SearchGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
end
end
-- early fcheck prune on partial subset
if
not
prune
and
grp
.
has_same
and
#
partial
>
1
then
if
not
Fusion
.
CheckHasSame
(
grp
,
partial
,
e
)
then
prune
=
true
end
end
if
not
prune
then
if
dfs
(
i
+
1
,
depth
+
1
)
then
return
true
...
...
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