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
52ed02e6
Commit
52ed02e6
authored
Jul 14, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tuning 白の枢機竜
parent
958d30ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
19 deletions
+6
-19
c54757758.lua
c54757758.lua
+0
-5
procedure.lua
procedure.lua
+6
-14
No files found.
c54757758.lua
View file @
52ed02e6
...
@@ -44,11 +44,6 @@ function s.initial_effect(c)
...
@@ -44,11 +44,6 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
attop
)
e3
:
SetOperation
(
s
.
attop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
not
sg
or
sg
:
FilterCount
(
aux
.
TRUE
,
c
)
==
0
or
(
sg
:
IsExists
(
Card
.
IsFusionAttribute
,
1
,
c
,
c
:
GetFusionAttribute
())
and
not
sg
:
IsExists
(
Card
.
IsRace
,
1
,
c
,
c
:
GetRace
()))
end
function
s
.
tglimit
(
e
,
c
)
function
s
.
tglimit
(
e
,
c
)
return
c
:
IsAttribute
(
e
:
GetHandler
():
GetAttribute
())
return
c
:
IsAttribute
(
e
:
GetHandler
():
GetAttribute
())
end
end
...
...
procedure.lua
View file @
52ed02e6
...
@@ -3631,14 +3631,12 @@ function Fusion.StrictGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
...
@@ -3631,14 +3631,12 @@ function Fusion.StrictGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
end
end
-- has_same on full matched
-- has_same on full matched
if
grp
.
has_same
and
not
Fusion
.
CheckHasSame
(
grp
,
matched
,
e
)
then
if
grp
.
has_same
and
not
Fusion
.
CheckHasSame
(
grp
,
matched
,
e
)
then
Debug
.
Message
(
"rejected by has_same"
)
return
false
return
false
end
end
-- unique_by on full matched
-- unique_by on full matched
if
grp
.
unique_by
then
if
grp
.
unique_by
then
local
matcher
=
Fusion
.
UniqueByMatching
(
grp
.
unique_by
,
#
matched
)
local
matcher
=
Fusion
.
UniqueByMatching
(
grp
.
unique_by
,
#
matched
)
if
not
matcher
(
matched
)
then
if
not
matcher
(
matched
)
then
Debug
.
Message
(
"rejected by unique_by"
)
return
false
return
false
end
end
end
end
...
@@ -3681,7 +3679,10 @@ function Fusion.SearchGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
...
@@ -3681,7 +3679,10 @@ function Fusion.SearchGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
mg_tmp
:
Merge
(
subG
)
mg_tmp
:
Merge
(
subG
)
-- has_same check
-- has_same check
local
ok_same
=
not
grp
.
has_same
or
Fusion
.
CheckHasSame
(
grp
,
sub_g_arr
,
e
)
local
ok_same
=
true
if
grp
.
has_same
and
#
sub_g_arr
>
1
then
ok_same
=
Fusion
.
CheckHasSame
(
grp
,
sub_g_arr
,
e
)
end
-- unique_by check
-- unique_by check
local
ok_unique
=
true
local
ok_unique
=
true
...
@@ -3711,15 +3712,6 @@ function Fusion.SearchGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
...
@@ -3711,15 +3712,6 @@ function Fusion.SearchGroup(e,leftovers,mg_base,grp,tc,fgoalcheck,chkf)
local
prune
=
false
local
prune
=
false
local
partial
=
{
table.unpack
(
comb
,
1
,
depth
)}
local
partial
=
{
table.unpack
(
comb
,
1
,
depth
)}
-- aux.FCheckAdditional prune
if
not
prune
and
aux
.
FCheckAdditional
then
local
mg_p
=
mg_base
:
Clone
()
mg_p
:
Merge
(
Group
.
FromCards
(
table.unpack
(
partial
)))
if
not
aux
.
FCheckAdditional
(
tc
:
GetOwner
(),
mg_p
,
tc
)
then
prune
=
true
end
end
-- early unique_by prune on partial subset via UniqueByMatching
-- early unique_by prune on partial subset via UniqueByMatching
if
not
prune
and
grp
.
unique_by
then
if
not
prune
and
grp
.
unique_by
then
local
part_matcher
=
Fusion
.
UniqueByMatching
(
grp
.
unique_by
,
#
partial
)
local
part_matcher
=
Fusion
.
UniqueByMatching
(
grp
.
unique_by
,
#
partial
)
...
@@ -4285,8 +4277,8 @@ function Fusion.UniqueByMatching(key_func,min_needed)
...
@@ -4285,8 +4277,8 @@ function Fusion.UniqueByMatching(key_func,min_needed)
end
end
--- Collects all keys used by the cards in `sel` assigned to slot i
--- Collects all keys used by the cards in `sel` assigned to slot i
--- @param cards_sel Card[]
the arrayified sel
--- @param cards_sel Card[] the arrayified sel
--- @param mapping table
mapping sel‐index → slot‐index
--- @param mapping table mapping sel‐index → slot‐index
--- @param slot_idx number
--- @param slot_idx number
--- @param key_func fun(Card):any[]
--- @param key_func fun(Card):any[]
--- @return table used_keys
--- @return table used_keys
...
...
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