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
Vury Leo
pre-release-database-cdb
Commits
b7121bed
Commit
b7121bed
authored
Feb 12, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove tuner_filter
parent
de6db9f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
23 deletions
+16
-23
script/c100236019.lua
script/c100236019.lua
+11
-10
script/c100236020.lua
script/c100236020.lua
+4
-8
script/c100236021.lua
script/c100236021.lua
+1
-5
No files found.
script/c100236019.lua
View file @
b7121bed
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetCost
(
s
.
spcost
)
e2
:
SetCost
(
s
.
spcost
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
CheckGroup
(
g
,
f
,
cg
,
min
,
max
,
...
)
function
s
.
CheckGroup
(
g
,
f
,
cg
,
min
,
max
,
...
)
...
@@ -57,7 +57,7 @@ function s.SelectGroup(tp,desc,g,f,cg,min,max,...)
...
@@ -57,7 +57,7 @@ function s.SelectGroup(tp,desc,g,f,cg,min,max,...)
end
end
function
s
.
matfilter1
(
c
,
syncard
,
tp
)
function
s
.
matfilter1
(
c
,
syncard
,
tp
)
if
c
:
IsFacedown
()
then
return
false
end
if
c
:
IsFacedown
()
then
return
false
end
if
c
:
IsSynchroType
(
TYPE_LINK
)
and
c
:
IsControler
(
tp
)
then
return
true
end
if
c
:
IsSynchroType
(
TYPE_LINK
)
and
c
:
IsControler
(
tp
)
then
return
true
end
return
c
:
IsSynchroType
(
TYPE_TUNER
)
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
end
end
function
s
.
matfilter2
(
c
,
syncard
)
function
s
.
matfilter2
(
c
,
syncard
)
...
@@ -80,8 +80,6 @@ function s.CheckGroupRecursive(c,sg,g,f,min,max,ext_params)
...
@@ -80,8 +80,6 @@ function s.CheckGroupRecursive(c,sg,g,f,min,max,ext_params)
end
end
function
s
.
synfilter
(
c
,
syncard
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
function
s
.
synfilter
(
c
,
syncard
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
local
tsg
=
c
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
tsg
=
c
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
f
=
c
.
tuner_filter
if
c
.
tuner_filter
then
tsg
=
tsg
:
Filter
(
f
,
nil
)
end
return
s
.
CheckGroup
(
tsg
,
s
.
goal
,
Group
.
FromCards
(
c
),
minc
,
maxc
,
tp
,
lv
,
syncard
,
c
)
return
s
.
CheckGroup
(
tsg
,
s
.
goal
,
Group
.
FromCards
(
c
),
minc
,
maxc
,
tp
,
lv
,
syncard
,
c
)
end
end
function
s
.
goal
(
g
,
tp
,
lv
,
syncard
,
tuc
)
function
s
.
goal
(
g
,
tp
,
lv
,
syncard
,
tuc
)
...
@@ -149,9 +147,7 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg)
...
@@ -149,9 +147,7 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg)
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
end
end
end
end
local
tsg
=
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
tsg
=
tuc
and
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
f
=
tuc
.
tuner_filter
if
tuc
.
tuner_filter
then
tsg
=
tsg
:
Filter
(
f
,
nil
)
end
local
g
=
s
.
SelectGroup
(
tp
,
HINTMSG_SMATERIAL
,
tsg
,
s
.
goal
,
Group
.
FromCards
(
tuc
),
minc
,
maxc
,
tp
,
lv
,
c
,
tuc
)
local
g
=
s
.
SelectGroup
(
tp
,
HINTMSG_SMATERIAL
,
tsg
,
s
.
goal
,
Group
.
FromCards
(
tuc
),
minc
,
maxc
,
tp
,
lv
,
c
,
tuc
)
if
g
then
if
g
then
g
:
KeepAlive
()
g
:
KeepAlive
()
...
@@ -170,13 +166,18 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -170,13 +166,18 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
2
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
2
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
>
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
REASON_EFFECT
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
BreakEffect
()
if
dg
:
GetCount
()
>
0
then
Duel
.
DiscardHand
(
tp
,
nil
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
)
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
dg
,
REASON_EFFECT
+
REASON_DISCARD
)
end
end
end
end
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c100236020.lua
View file @
b7121bed
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetCost
(
s
.
spcost
)
e2
:
SetCost
(
s
.
spcost
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
CheckGroup
(
g
,
f
,
cg
,
min
,
max
,
...
)
function
s
.
CheckGroup
(
g
,
f
,
cg
,
min
,
max
,
...
)
...
@@ -57,7 +57,7 @@ function s.SelectGroup(tp,desc,g,f,cg,min,max,...)
...
@@ -57,7 +57,7 @@ function s.SelectGroup(tp,desc,g,f,cg,min,max,...)
end
end
function
s
.
matfilter1
(
c
,
syncard
,
tp
)
function
s
.
matfilter1
(
c
,
syncard
,
tp
)
if
c
:
IsFacedown
()
then
return
false
end
if
c
:
IsFacedown
()
then
return
false
end
if
c
:
IsSynchroType
(
TYPE_LINK
)
and
c
:
IsControler
(
tp
)
then
return
true
end
if
c
:
IsSynchroType
(
TYPE_LINK
)
and
c
:
IsControler
(
tp
)
then
return
true
end
return
c
:
IsSynchroType
(
TYPE_TUNER
)
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
end
end
function
s
.
matfilter2
(
c
,
syncard
)
function
s
.
matfilter2
(
c
,
syncard
)
...
@@ -80,8 +80,6 @@ function s.CheckGroupRecursive(c,sg,g,f,min,max,ext_params)
...
@@ -80,8 +80,6 @@ function s.CheckGroupRecursive(c,sg,g,f,min,max,ext_params)
end
end
function
s
.
synfilter
(
c
,
syncard
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
function
s
.
synfilter
(
c
,
syncard
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
local
tsg
=
c
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
tsg
=
c
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
f
=
c
.
tuner_filter
if
c
.
tuner_filter
then
tsg
=
tsg
:
Filter
(
f
,
nil
)
end
return
s
.
CheckGroup
(
tsg
,
s
.
goal
,
Group
.
FromCards
(
c
),
minc
,
maxc
,
tp
,
lv
,
syncard
,
c
)
return
s
.
CheckGroup
(
tsg
,
s
.
goal
,
Group
.
FromCards
(
c
),
minc
,
maxc
,
tp
,
lv
,
syncard
,
c
)
end
end
function
s
.
goal
(
g
,
tp
,
lv
,
syncard
,
tuc
)
function
s
.
goal
(
g
,
tp
,
lv
,
syncard
,
tuc
)
...
@@ -149,9 +147,7 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg)
...
@@ -149,9 +147,7 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg)
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
end
end
end
end
local
tsg
=
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
tsg
=
tuc
and
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
f
=
tuc
.
tuner_filter
if
tuc
.
tuner_filter
then
tsg
=
tsg
:
Filter
(
f
,
nil
)
end
local
g
=
s
.
SelectGroup
(
tp
,
HINTMSG_SMATERIAL
,
tsg
,
s
.
goal
,
Group
.
FromCards
(
tuc
),
minc
,
maxc
,
tp
,
lv
,
c
,
tuc
)
local
g
=
s
.
SelectGroup
(
tp
,
HINTMSG_SMATERIAL
,
tsg
,
s
.
goal
,
Group
.
FromCards
(
tuc
),
minc
,
maxc
,
tp
,
lv
,
c
,
tuc
)
if
g
then
if
g
then
g
:
KeepAlive
()
g
:
KeepAlive
()
...
@@ -169,7 +165,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -169,7 +165,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
#
g
,
0
,
0
)
end
end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetTargetsRelateToChain
()
local
sg
=
Duel
.
GetTargetsRelateToChain
()
:
Filter
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
if
#
sg
==
0
then
return
end
if
#
sg
==
0
then
return
end
Duel
.
ChangePosition
(
sg
,
POS_FACEDOWN_DEFENSE
)
Duel
.
ChangePosition
(
sg
,
POS_FACEDOWN_DEFENSE
)
end
end
...
...
script/c100236021.lua
View file @
b7121bed
...
@@ -80,8 +80,6 @@ function s.CheckGroupRecursive(c,sg,g,f,min,max,ext_params)
...
@@ -80,8 +80,6 @@ function s.CheckGroupRecursive(c,sg,g,f,min,max,ext_params)
end
end
function
s
.
synfilter
(
c
,
syncard
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
function
s
.
synfilter
(
c
,
syncard
,
lv
,
g2
,
g3
,
minc
,
maxc
,
tp
)
local
tsg
=
c
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
tsg
=
c
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
f
=
c
.
tuner_filter
if
c
.
tuner_filter
then
tsg
=
tsg
:
Filter
(
f
,
nil
)
end
return
s
.
CheckGroup
(
tsg
,
s
.
goal
,
Group
.
FromCards
(
c
),
minc
,
maxc
,
tp
,
lv
,
syncard
,
c
)
return
s
.
CheckGroup
(
tsg
,
s
.
goal
,
Group
.
FromCards
(
c
),
minc
,
maxc
,
tp
,
lv
,
syncard
,
c
)
end
end
function
s
.
goal
(
g
,
tp
,
lv
,
syncard
,
tuc
)
function
s
.
goal
(
g
,
tp
,
lv
,
syncard
,
tuc
)
...
@@ -149,9 +147,7 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg)
...
@@ -149,9 +147,7 @@ function s.LSynTarget(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg)
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
Group
.
FromCards
(
tuc
):
Select
(
tp
,
1
,
1
,
nil
)
end
end
end
end
local
tsg
=
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
tsg
=
tuc
and
tuc
:
IsHasEffect
(
EFFECT_HAND_SYNCHRO
)
and
g3
or
g2
local
f
=
tuc
.
tuner_filter
if
tuc
.
tuner_filter
then
tsg
=
tsg
:
Filter
(
f
,
nil
)
end
local
g
=
s
.
SelectGroup
(
tp
,
HINTMSG_SMATERIAL
,
tsg
,
s
.
goal
,
Group
.
FromCards
(
tuc
),
minc
,
maxc
,
tp
,
lv
,
c
,
tuc
)
local
g
=
s
.
SelectGroup
(
tp
,
HINTMSG_SMATERIAL
,
tsg
,
s
.
goal
,
Group
.
FromCards
(
tuc
),
minc
,
maxc
,
tp
,
lv
,
c
,
tuc
)
if
g
then
if
g
then
g
:
KeepAlive
()
g
:
KeepAlive
()
...
...
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