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
8d12f234
Commit
8d12f234
authored
Nov 07, 2025
by
zengsxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c100254202.lua
parent
1c9da492
Pipeline
#41535
passed with stages
in 3 minutes and 18 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
20 deletions
+26
-20
script/c100254202.lua
script/c100254202.lua
+26
-20
No files found.
script/c100254202.lua
View file @
8d12f234
...
@@ -30,7 +30,7 @@ end
...
@@ -30,7 +30,7 @@ end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetAttribute
)
>=
4
end
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetAttribute
)
>=
4
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
4
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
4
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
2
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
2
,
tp
,
LOCATION_HAND
)
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -93,6 +93,22 @@ function s.fusop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,6 +93,22 @@ function s.fusop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetLabelObject
(
tc
)
e1
:
SetCondition
(
s
.
sumcon
)
e1
:
SetOperation
(
s
.
sumop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAIN_END
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetOperation
(
s
.
cedop
)
Duel
.
RegisterEffect
(
e2
,
tp
)
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
ce
and
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
ce
and
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg1
,
nil
,
chkf
)
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg1
,
nil
,
chkf
)
tc
:
SetMaterial
(
mat1
)
tc
:
SetMaterial
(
mat1
)
...
@@ -104,24 +120,13 @@ function s.fusop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -104,24 +120,13 @@ function s.fusop(e,tp,eg,ep,ev,re,r,rp)
local
fop
=
ce
:
GetOperation
()
local
fop
=
ce
:
GetOperation
()
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
end
--act limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetOperation
(
s
.
limop
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EVENT_CHAIN_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetOperation
(
s
.
limop2
)
tc
:
RegisterEffect
(
e2
)
tc
:
CompleteProcedure
()
end
end
end
end
function
s
.
limop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsContains
(
e
:
GetLabelObject
())
end
function
s
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
SetLabel
(
1
)
if
Duel
.
GetCurrentChain
()
==
0
then
if
Duel
.
GetCurrentChain
()
==
0
then
Duel
.
SetChainLimitTillChainEnd
(
s
.
chainlm
)
Duel
.
SetChainLimitTillChainEnd
(
s
.
chainlm
)
elseif
Duel
.
GetCurrentChain
()
==
1
then
elseif
Duel
.
GetCurrentChain
()
==
1
then
...
@@ -141,11 +146,12 @@ function s.resetop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -141,11 +146,12 @@ function s.resetop(e,tp,eg,ep,ev,re,r,rp)
e
:
GetHandler
():
ResetFlagEffect
(
id
)
e
:
GetHandler
():
ResetFlagEffect
(
id
)
e
:
Reset
()
e
:
Reset
()
end
end
function
s
.
limop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
cedop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
GetFlagEffect
(
id
)
~=
0
then
if
Duel
.
CheckEvent
(
EVENT_SPSUMMON_SUCCESS
)
and
e
:
GetLabelObject
():
GetLabel
()
==
1
and
e
:
GetHandler
():
GetFlagEffect
(
id
)
~=
0
then
Duel
.
SetChainLimitTillChainEnd
(
s
.
chainlm
)
Duel
.
SetChainLimitTillChainEnd
(
s
.
chainlm
)
end
end
e
:
GetHandler
():
ResetFlagEffect
(
id
)
e
:
GetHandler
():
ResetFlagEffect
(
id
)
e
:
Reset
()
end
end
function
s
.
chainlm
(
e
,
rp
,
tp
)
function
s
.
chainlm
(
e
,
rp
,
tp
)
return
tp
==
rp
return
tp
==
rp
...
...
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