Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
0
Merge Requests
0
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
pre-release-database-cdb
Commits
17e45956
Commit
17e45956
authored
Jun 12, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add サイバーロード・フュージョン to new fusion and fix facedown banished material
parent
dad935b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
2 deletions
+54
-2
script-fix-fusion.cdb
script-fix-fusion.cdb
+0
-0
script/c55704856.lua
script/c55704856.lua
+51
-0
script/procedure.lua
script/procedure.lua
+3
-2
No files found.
script-fix-fusion.cdb
View file @
17e45956
No preview for this file type
script/c55704856.lua
0 → 100644
View file @
17e45956
--サイバーロード・フュージョン
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--Activate
local
e1
=
FusionSpell
.
CreateSummonEffect
(
c
,{
fusfilter
=
s
.
fusfilter
,
pre_select_mat_location
=
LOCATION_MZONE
|
LOCATION_REMOVED
,
mat_operation_code_map
=
{
{
[
LOCATION_DECK
]
=
FusionSpell
.
FUSION_OPERATION_GRAVE
},
{
[
0xff
]
=
FusionSpell
.
FUSION_OPERATION_SHUFFLE
}
},
additional_fcheck
=
s
.
fcheck
,
stage_x_operation
=
s
.
stage_x_operation
})
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
c
:
RegisterEffect
(
e1
)
end
function
s
.
fusfilter
(
c
)
return
aux
.
IsMaterialListSetCard
(
c
,
0x1093
)
end
---@type FUSION_FGCHECK_FUNCTION
function
s
.
fcheck
(
tp
,
mg
,
tc
,
mg_all
)
if
tc
.
cyber_fusion_check
~=
nil
then
return
tc
.
cyber_fusion_check
(
tp
,
mg_all
,
tc
)
else
return
true
end
end
---@type FUSION_SPELL_STAGE_X_CALLBACK_FUNCTION
function
s
.
stage_x_operation
(
e
,
tc
,
tp
,
stage
)
if
stage
==
FusionSpell
.
STAGE_AT_SUMMON_OPERATION_FINISH
then
local
fid
=
e
:
GetHandler
():
GetFieldID
()
tc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetProperty
(
EFFECT_FLAG_OATH
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
s
.
ftarget
)
e1
:
SetLabel
(
fid
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
s
.
ftarget
(
e
,
c
)
return
e
:
GetLabel
()
~=
c
:
GetFlagEffectLabel
(
id
)
end
script/procedure.lua
View file @
17e45956
...
...
@@ -2742,7 +2742,6 @@ function FusionSpell.GetAllLocationsForTargetCard(tc,tp,pre_select_mat_location,
all_locations
=
all_locations
|
pre_select_mat_location
end
if
post_select_mat_location
~=
nil
then
all_locations
=
all_locations
|
post_select_mat_location
end
return
all_locations
...
...
@@ -2775,10 +2774,12 @@ function FusionSpell.GetMaterialsGroupForTargetCard(
mg
:
Merge
(
opponent_mg
)
end
-- filter by the strong material filter, target card can not be fusion material of itself
--
-
filter by the strong material filter, target card can not be fusion material of itself
mg
=
mg
:
Filter
(
matfilter
,
tc
)
--- filter out card can not be affected by effect
mg
=
mg
:
Filter
(
aux
.
NOT
(
Card
.
IsImmuneToEffect
),
nil
,
e
)
--- filter out card that are facedown banished
mg
=
mg
:
Filter
(
function
(
c
)
return
not
(
c
:
IsLocation
(
LOCATION_REMOVED
)
and
c
:
IsFacedown
())
end
,
nil
)
--- filter out card can not be material
--- comment out, currently core can not return correct value if affected by EFFECT_EXTRA_FUSION_MATERIAL.
--mg=mg:Filter(Card.IsCanBeFusionMaterial,nil,tc,sumtype)
...
...
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