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
8bc1c094
Commit
8bc1c094
authored
Feb 13, 2025
by
zengsxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 19-21
修复了因为没有正确理解参数导致的bug
parent
655b0a63
Pipeline
#33178
passed with stages
in 1 minute and 58 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
27 deletions
+27
-27
script/c100236019.lua
script/c100236019.lua
+9
-9
script/c100236020.lua
script/c100236020.lua
+9
-9
script/c100236021.lua
script/c100236021.lua
+9
-9
No files found.
script/c100236019.lua
View file @
8bc1c094
...
...
@@ -70,8 +70,8 @@ function s.LSynCondition(e,c,tuner,mg,min,max)
if
c
==
nil
then
return
true
end
if
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsFaceup
()
then
return
false
end
local
tp
=
c
:
GetControler
()
local
minc
=
2
local
maxc
=
c
:
GetLevel
()
local
minc
=
1
local
maxc
=
c
:
GetLevel
()
-
1
if
min
then
if
min
>
minc
then
minc
=
min
end
if
max
<
maxc
then
maxc
=
max
end
...
...
@@ -93,16 +93,16 @@ 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
,
maxc
,
tp
)
return
s
.
matfilter1
(
c
,
tp
)
and
s
.
synfilter
(
tuner
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
elseif
pe
then
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
else
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
end
end
function
s
.
LSynTarget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
tuner
,
mg
,
min
,
max
)
local
minc
=
2
local
maxc
=
c
:
GetLevel
()
local
minc
=
1
local
maxc
=
c
:
GetLevel
()
-
1
if
min
then
if
min
>
minc
then
minc
=
min
end
if
max
<
maxc
then
maxc
=
max
end
...
...
@@ -128,7 +128,7 @@ 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
,
maxc
,
tp
):
GetFirst
()
tuc
=
g1
:
FilterSelect
(
tp
,
s
.
synfilter
,
1
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
):
GetFirst
()
else
tuc
=
pe
:
GetOwner
()
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
...
...
@@ -137,7 +137,7 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg,min,max)
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
,
maxc
,
tp
,
lv
,
c
,
tuc
)
local
g
=
tsg
:
SelectSubGroup
(
tp
,
s
.
goal
,
false
,
minc
+
1
,
maxc
+
1
,
tp
,
lv
,
c
,
tuc
)
if
g
then
g
:
KeepAlive
()
e
:
SetLabelObject
(
g
)
...
...
script/c100236020.lua
View file @
8bc1c094
...
...
@@ -70,8 +70,8 @@ function s.LSynCondition(e,c,tuner,mg,min,max)
if
c
==
nil
then
return
true
end
if
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsFaceup
()
then
return
false
end
local
tp
=
c
:
GetControler
()
local
minc
=
2
local
maxc
=
c
:
GetLevel
()
local
minc
=
1
local
maxc
=
c
:
GetLevel
()
-
1
if
min
then
if
min
>
minc
then
minc
=
min
end
if
max
<
maxc
then
maxc
=
max
end
...
...
@@ -93,16 +93,16 @@ 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
,
maxc
,
tp
)
return
s
.
matfilter1
(
c
,
tp
)
and
s
.
synfilter
(
tuner
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
elseif
pe
then
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
else
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
end
end
function
s
.
LSynTarget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
tuner
,
mg
,
min
,
max
)
local
minc
=
2
local
maxc
=
c
:
GetLevel
()
local
minc
=
1
local
maxc
=
c
:
GetLevel
()
-
1
if
min
then
if
min
>
minc
then
minc
=
min
end
if
max
<
maxc
then
maxc
=
max
end
...
...
@@ -128,7 +128,7 @@ 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
,
maxc
,
tp
):
GetFirst
()
tuc
=
g1
:
FilterSelect
(
tp
,
s
.
synfilter
,
1
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
):
GetFirst
()
else
tuc
=
pe
:
GetOwner
()
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
...
...
@@ -137,7 +137,7 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg,min,max)
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
,
maxc
,
tp
,
lv
,
c
,
tuc
)
local
g
=
tsg
:
SelectSubGroup
(
tp
,
s
.
goal
,
false
,
minc
+
1
,
maxc
+
1
,
tp
,
lv
,
c
,
tuc
)
if
g
then
g
:
KeepAlive
()
e
:
SetLabelObject
(
g
)
...
...
script/c100236021.lua
View file @
8bc1c094
...
...
@@ -70,8 +70,8 @@ function s.LSynCondition(e,c,tuner,mg,min,max)
if
c
==
nil
then
return
true
end
if
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsFaceup
()
then
return
false
end
local
tp
=
c
:
GetControler
()
local
minc
=
2
local
maxc
=
c
:
GetLevel
()
local
minc
=
1
local
maxc
=
c
:
GetLevel
()
-
1
if
min
then
if
min
>
minc
then
minc
=
min
end
if
max
<
maxc
then
maxc
=
max
end
...
...
@@ -93,16 +93,16 @@ 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
,
maxc
,
tp
)
return
s
.
matfilter1
(
c
,
tp
)
and
s
.
synfilter
(
tuner
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
elseif
pe
then
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
return
s
.
matfilter1
(
pe
:
GetOwner
(),
tp
)
and
s
.
synfilter
(
pe
:
GetOwner
(),
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
else
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
return
g1
:
IsExists
(
s
.
synfilter
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
)
end
end
function
s
.
LSynTarget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
tuner
,
mg
,
min
,
max
)
local
minc
=
2
local
maxc
=
c
:
GetLevel
()
local
minc
=
1
local
maxc
=
c
:
GetLevel
()
-
1
if
min
then
if
min
>
minc
then
minc
=
min
end
if
max
<
maxc
then
maxc
=
max
end
...
...
@@ -128,7 +128,7 @@ 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
,
maxc
,
tp
):
GetFirst
()
tuc
=
g1
:
FilterSelect
(
tp
,
s
.
synfilter
,
1
,
1
,
nil
,
c
,
lv
,
g2
,
g3
,
minc
+
1
,
maxc
+
1
,
tp
):
GetFirst
()
else
tuc
=
pe
:
GetOwner
()
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
...
...
@@ -137,7 +137,7 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg,min,max)
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
,
maxc
,
tp
,
lv
,
c
,
tuc
)
local
g
=
tsg
:
SelectSubGroup
(
tp
,
s
.
goal
,
false
,
minc
+
1
,
maxc
+
1
,
tp
,
lv
,
c
,
tuc
)
if
g
then
g
:
KeepAlive
()
e
:
SetLabelObject
(
g
)
...
...
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