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
b664345b
Commit
b664345b
authored
Aug 12, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-2' into 'master'
Fix スクラップ・シンクロン See merge request
!219
parents
eed650cb
d899f9a8
Pipeline
#40123
passed with stages
in 2 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
8 deletions
+24
-8
script/c100244004.lua
script/c100244004.lua
+24
-8
No files found.
script/c100244004.lua
View file @
b664345b
...
...
@@ -17,20 +17,36 @@ function s.initial_effect(c)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetValue
(
s
.
matval
)
c
:
RegisterEffect
(
e1
)
--
destroy replace
--
register HOpT
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e2
:
SetRange
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetTarget
(
s
.
reptg
)
e2
:
SetValue
(
s
.
repval
)
e2
:
SetOperation
(
s
.
repop
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BE_PRE_MATERIAL
)
e2
:
SetProperty
(
EFFECT_FLAG_EVENT_PLAYER
+
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetCondition
(
s
.
hsyncon
)
e2
:
SetOperation
(
s
.
hsynreg
)
c
:
RegisterEffect
(
e2
)
--destroy replace
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e3
:
SetRange
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetTarget
(
s
.
reptg
)
e3
:
SetValue
(
s
.
repval
)
e3
:
SetOperation
(
s
.
repop
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
matval
(
e
,
c
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
aux
.
IsMaterialListSetCard
(
c
,
0x1017
)
end
function
s
.
hsyncon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
r
==
REASON_SYNCHRO
and
s
.
matval
(
nil
,
c
:
GetReasonCard
())
and
c
:
IsPreviousLocation
(
LOCATION_HAND
)
end
function
s
.
hsynreg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetLabelObject
():
UseCountLimit
(
tp
)
end
function
s
.
repfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
(
c
:
IsOriginalSetCard
(
0x66
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
or
aux
.
IsCodeListed
(
c
,
60800381
)
and
c
:
IsType
(
TYPE_MONSTER
))
...
...
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