Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
2dc3e08f
Commit
2dc3e08f
authored
Oct 01, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
52d43fc8
Pipeline
#30152
passed with stages
in 33 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
expansions/script/c53752002.lua
expansions/script/c53752002.lua
+6
-6
No files found.
expansions/script/c53752002.lua
View file @
2dc3e08f
...
@@ -216,11 +216,11 @@ function s.lvplus(group,sc)
...
@@ -216,11 +216,11 @@ function s.lvplus(group,sc)
calculateRecursive
(
cards
,
1
,
0
)
calculateRecursive
(
cards
,
1
,
0
)
return
results
return
results
end
end
function
s
.
IsTuner
(
c
,
sc
)
function
s
.
TunerCheck
(
c
,
sc
)
local
p
,
sp
=
c
:
GetControler
(),
sc
:
GetControler
()
local
p
,
sp
=
c
:
GetControler
(),
sc
:
GetControler
()
return
c
:
IsTuner
(
sc
)
and
(
c
:
IsFaceup
()
or
p
==
sp
or
not
c
:
IsOnField
())
return
c
:
IsTuner
(
sc
)
and
(
c
:
IsFaceup
()
or
p
==
sp
or
not
c
:
IsOnField
())
end
end
function
s
.
IsNotTuner
(
c
,
sc
)
function
s
.
NotTunerCheck
(
c
,
sc
)
local
p
,
sp
=
c
:
GetControler
(),
sc
:
GetControler
()
local
p
,
sp
=
c
:
GetControler
(),
sc
:
GetControler
()
return
c
:
IsNotTuner
(
sc
)
or
(
c
:
IsFacedown
()
and
p
~=
sp
and
c
:
IsOnField
())
return
c
:
IsNotTuner
(
sc
)
or
(
c
:
IsFacedown
()
and
p
~=
sp
and
c
:
IsOnField
())
end
end
...
@@ -232,12 +232,12 @@ function s.slfilter(c,tc,sc)
...
@@ -232,12 +232,12 @@ function s.slfilter(c,tc,sc)
if
lv1_2
and
lv2_2
then
res1
=
(((
lv1_1
==
lv2_1
)
and
(
lv1_2
==
lv2_2
))
or
((
lv1_1
==
lv2_2
)
and
(
lv1_2
==
lv2_1
)))
end
if
lv1_2
and
lv2_2
then
res1
=
(((
lv1_1
==
lv2_1
)
and
(
lv1_2
==
lv2_2
))
or
((
lv1_1
==
lv2_2
)
and
(
lv1_2
==
lv2_1
)))
end
if
not
res1
then
return
false
end
if
not
res1
then
return
false
end
local
function
botht
(
card
,
syncard
)
local
function
botht
(
card
,
syncard
)
return
s
.
IsTuner
(
card
,
syncard
)
and
s
.
IsNotTuner
(
card
,
syncard
)
return
s
.
TunerCheck
(
card
,
syncard
)
and
s
.
NotTunerCheck
(
card
,
syncard
)
end
end
if
botht
(
c
,
sc
)
and
botht
(
tc
,
sc
)
then
return
true
if
botht
(
c
,
sc
)
and
botht
(
tc
,
sc
)
then
return
true
elseif
botht
(
c
,
sc
)
and
not
botht
(
tc
,
sc
)
then
return
false
elseif
botht
(
c
,
sc
)
and
not
botht
(
tc
,
sc
)
then
return
false
elseif
not
botht
(
c
,
sc
)
and
botht
(
tc
,
sc
)
then
return
false
else
elseif
not
botht
(
c
,
sc
)
and
botht
(
tc
,
sc
)
then
return
false
else
if
(
s
.
IsTuner
(
c
,
sc
)
and
s
.
IsTuner
(
tc
,
sc
))
or
(
s
.
IsNotTuner
(
c
,
sc
)
and
s
.
IsNotTuner
(
tc
,
sc
))
then
return
true
end
if
(
s
.
TunerCheck
(
c
,
sc
)
and
s
.
TunerCheck
(
tc
,
sc
))
or
(
s
.
NotTunerCheck
(
c
,
sc
)
and
s
.
NotTunerCheck
(
tc
,
sc
))
then
return
true
end
end
end
return
false
return
false
end
end
...
@@ -283,7 +283,7 @@ function s.SynMixCondition(e,c,smat,mg1,min,max)
...
@@ -283,7 +283,7 @@ function s.SynMixCondition(e,c,smat,mg1,min,max)
return
res
and
mg
:
IsExists
(
s
.
ntfilter
,
1
,
nil
,
c
,
mg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
return
res
and
mg
:
IsExists
(
s
.
ntfilter
,
1
,
nil
,
c
,
mg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
end
function
s
.
ntfilter
(
c
,
sc
,
mg
)
function
s
.
ntfilter
(
c
,
sc
,
mg
)
return
s
.
IsTuner
(
c
,
sc
)
and
mg
:
IsExists
(
s
.
IsNotTuner
,
1
,
c
,
sc
)
return
s
.
TunerCheck
(
c
,
sc
)
and
mg
:
IsExists
(
s
.
NotTunerCheck
,
1
,
c
,
sc
)
end
end
function
s
.
syngoal
(
g
,
sc
,
smat
,
tp
,
mgchk
)
function
s
.
syngoal
(
g
,
sc
,
smat
,
tp
,
mgchk
)
if
not
g
:
IsExists
(
s
.
ntfilter
,
1
,
nil
,
sc
,
g
)
then
return
false
end
if
not
g
:
IsExists
(
s
.
ntfilter
,
1
,
nil
,
sc
,
g
)
then
return
false
end
...
@@ -421,7 +421,7 @@ function s.initial_effect(c)
...
@@ -421,7 +421,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
filter
(
c
,
tp
)
function
s
.
filter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
Is
Code
(
53752003
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
Is
OriginalCodeRule
(
22702055
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
end
function
s
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
...
...
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