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
16cc1bbf
Commit
16cc1bbf
authored
Feb 13, 2025
by
zengsxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 19-21
可以取消了
parent
8bc1c094
Pipeline
#33187
passed with stages
in 1 minute and 25 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
27 deletions
+39
-27
script/c100236019.lua
script/c100236019.lua
+13
-9
script/c100236020.lua
script/c100236020.lua
+13
-9
script/c100236021.lua
script/c100236021.lua
+13
-9
No files found.
script/c100236019.lua
View file @
16cc1bbf
...
...
@@ -57,14 +57,13 @@ function s.val(c,syncard)
end
function
s
.
synfilter
(
c
,
syncard
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
local
tsg
=
c
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
if
c
then
Duel
.
SetSelectedCard
(
c
)
end
return
tsg
:
CheckSubGroup
(
s
.
goal
,
minc
,
maxc
,
tp
,
lv
,
syncard
,
c
)
end
function
s
.
goal
(
g
,
tp
,
lv
,
syncard
,
tuc
)
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
syncard
)
<=
0
then
return
false
end
if
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g
:
IsExists
(
Card
.
IsLocation
,
2
,
tuc
,
LOCATION_HAND
)
then
return
false
end
local
ct
=
g
:
GetCount
(
)
return
g
:
GetSum
(
s
.
val
,
syncard
)
==
lv
local
lg
=
g
:
__add
(
tuc
)
return
l
g
:
GetSum
(
s
.
val
,
syncard
)
==
lv
end
function
s
.
LSynCondition
(
e
,
c
,
tuner
,
mg
,
min
,
max
)
if
c
==
nil
then
return
true
end
...
...
@@ -93,11 +92,11 @@ function s.LSynCondition(e,c,tuner,mg,min,max)
local
lv
=
c
:
GetLevel
()
local
sg
=
nil
if
tuner
then
return
s
.
matfilter1
(
c
,
tp
)
and
s
.
synfilter
(
tuner
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
return
s
.
matfilter1
(
c
,
tp
)
and
s
.
synfilter
(
tuner
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
elseif
pe
then
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
else
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
end
end
function
s
.
LSynTarget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
tuner
,
mg
,
min
,
max
)
...
...
@@ -128,17 +127,22 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg,min,max)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SMATERIAL
)
if
not
pe
then
tuc
=
g1
:
FilterSelect
(
tp
,
s
.
synfilter
,
1
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
):
GetFirst
()
local
sg
=
g1
:
Filter
(
s
.
synfilter
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
):
CancelableSelect
(
tp
,
1
,
1
,
nil
)
if
sg
then
tuc
=
sg
:
GetFirst
()
else
return
false
end
else
tuc
=
pe
:
GetOwner
()
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
end
end
local
tsg
=
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
if
tuc
then
Duel
.
SetSelectedCard
(
tuc
)
end
Duel
.
Hint
(
tp
,
HINT_SELECTMSG
,
HINTMSG_SMATERIAL
)
local
g
=
tsg
:
SelectSubGroup
(
tp
,
s
.
goal
,
false
,
minc
+
1
,
maxc
+
1
,
tp
,
lv
,
c
,
tuc
)
local
g
=
tsg
:
SelectSubGroup
(
tp
,
s
.
goal
,
true
,
minc
,
maxc
,
tp
,
lv
,
c
,
tuc
)
if
g
then
g
:
AddCard
(
tuc
)
g
:
KeepAlive
()
e
:
SetLabelObject
(
g
)
return
true
...
...
script/c100236020.lua
View file @
16cc1bbf
...
...
@@ -57,14 +57,13 @@ function s.val(c,syncard)
end
function
s
.
synfilter
(
c
,
syncard
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
local
tsg
=
c
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
if
c
then
Duel
.
SetSelectedCard
(
c
)
end
return
tsg
:
CheckSubGroup
(
s
.
goal
,
minc
,
maxc
,
tp
,
lv
,
syncard
,
c
)
end
function
s
.
goal
(
g
,
tp
,
lv
,
syncard
,
tuc
)
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
syncard
)
<=
0
then
return
false
end
if
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g
:
IsExists
(
Card
.
IsLocation
,
2
,
tuc
,
LOCATION_HAND
)
then
return
false
end
local
ct
=
g
:
GetCount
(
)
return
g
:
GetSum
(
s
.
val
,
syncard
)
==
lv
local
lg
=
g
:
__add
(
tuc
)
return
l
g
:
GetSum
(
s
.
val
,
syncard
)
==
lv
end
function
s
.
LSynCondition
(
e
,
c
,
tuner
,
mg
,
min
,
max
)
if
c
==
nil
then
return
true
end
...
...
@@ -93,11 +92,11 @@ function s.LSynCondition(e,c,tuner,mg,min,max)
local
lv
=
c
:
GetLevel
()
local
sg
=
nil
if
tuner
then
return
s
.
matfilter1
(
c
,
tp
)
and
s
.
synfilter
(
tuner
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
return
s
.
matfilter1
(
c
,
tp
)
and
s
.
synfilter
(
tuner
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
elseif
pe
then
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
else
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
end
end
function
s
.
LSynTarget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
tuner
,
mg
,
min
,
max
)
...
...
@@ -128,17 +127,22 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg,min,max)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SMATERIAL
)
if
not
pe
then
tuc
=
g1
:
FilterSelect
(
tp
,
s
.
synfilter
,
1
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
):
GetFirst
()
local
sg
=
g1
:
Filter
(
s
.
synfilter
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
):
CancelableSelect
(
tp
,
1
,
1
,
nil
)
if
sg
then
tuc
=
sg
:
GetFirst
()
else
return
false
end
else
tuc
=
pe
:
GetOwner
()
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
end
end
local
tsg
=
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
if
tuc
then
Duel
.
SetSelectedCard
(
tuc
)
end
Duel
.
Hint
(
tp
,
HINT_SELECTMSG
,
HINTMSG_SMATERIAL
)
local
g
=
tsg
:
SelectSubGroup
(
tp
,
s
.
goal
,
false
,
minc
+
1
,
maxc
+
1
,
tp
,
lv
,
c
,
tuc
)
local
g
=
tsg
:
SelectSubGroup
(
tp
,
s
.
goal
,
true
,
minc
,
maxc
,
tp
,
lv
,
c
,
tuc
)
if
g
then
g
:
AddCard
(
tuc
)
g
:
KeepAlive
()
e
:
SetLabelObject
(
g
)
return
true
...
...
script/c100236021.lua
View file @
16cc1bbf
...
...
@@ -57,14 +57,13 @@ function s.val(c,syncard)
end
function
s
.
synfilter
(
c
,
syncard
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
local
tsg
=
c
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
if
c
then
Duel
.
SetSelectedCard
(
c
)
end
return
tsg
:
CheckSubGroup
(
s
.
goal
,
minc
,
maxc
,
tp
,
lv
,
syncard
,
c
)
end
function
s
.
goal
(
g
,
tp
,
lv
,
syncard
,
tuc
)
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
syncard
)
<=
0
then
return
false
end
if
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g
:
IsExists
(
Card
.
IsLocation
,
2
,
tuc
,
LOCATION_HAND
)
then
return
false
end
local
ct
=
g
:
GetCount
(
)
return
g
:
GetSum
(
s
.
val
,
syncard
)
==
lv
local
lg
=
g
:
__add
(
tuc
)
return
l
g
:
GetSum
(
s
.
val
,
syncard
)
==
lv
end
function
s
.
LSynCondition
(
e
,
c
,
tuner
,
mg
,
min
,
max
)
if
c
==
nil
then
return
true
end
...
...
@@ -93,11 +92,11 @@ function s.LSynCondition(e,c,tuner,mg,min,max)
local
lv
=
c
:
GetLevel
()
local
sg
=
nil
if
tuner
then
return
s
.
matfilter1
(
c
,
tp
)
and
s
.
synfilter
(
tuner
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
return
s
.
matfilter1
(
c
,
tp
)
and
s
.
synfilter
(
tuner
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
elseif
pe
then
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
else
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
end
end
function
s
.
LSynTarget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
tuner
,
mg
,
min
,
max
)
...
...
@@ -128,17 +127,22 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg,min,max)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SMATERIAL
)
if
not
pe
then
tuc
=
g1
:
FilterSelect
(
tp
,
s
.
synfilter
,
1
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
):
GetFirst
()
local
sg
=
g1
:
Filter
(
s
.
synfilter
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
):
CancelableSelect
(
tp
,
1
,
1
,
nil
)
if
sg
then
tuc
=
sg
:
GetFirst
()
else
return
false
end
else
tuc
=
pe
:
GetOwner
()
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
end
end
local
tsg
=
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
if
tuc
then
Duel
.
SetSelectedCard
(
tuc
)
end
Duel
.
Hint
(
tp
,
HINT_SELECTMSG
,
HINTMSG_SMATERIAL
)
local
g
=
tsg
:
SelectSubGroup
(
tp
,
s
.
goal
,
false
,
minc
+
1
,
maxc
+
1
,
tp
,
lv
,
c
,
tuc
)
local
g
=
tsg
:
SelectSubGroup
(
tp
,
s
.
goal
,
true
,
minc
,
maxc
,
tp
,
lv
,
c
,
tuc
)
if
g
then
g
:
AddCard
(
tuc
)
g
:
KeepAlive
()
e
:
SetLabelObject
(
g
)
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