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
Ai
ygopro-222DIY-cards
Commits
d399b8d2
Commit
d399b8d2
authored
Aug 28, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E
parent
ac9c24e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
expansions/script/c12892013.lua
expansions/script/c12892013.lua
+2
-2
expansions/script/c53799201.lua
expansions/script/c53799201.lua
+2
-2
No files found.
expansions/script/c12892013.lua
View file @
d399b8d2
...
...
@@ -44,8 +44,8 @@ function c12892013.initial_effect(c)
return
e
:
GetHandler
():
GetOverlayCount
()
>
4
and
(
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
or
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
())
end
)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
mfilter
(
c
,
xyzc
)
return
c
:
Is
XyzLevel
(
7
)
function
cm
.
mfilter
(
c
)
return
c
:
Is
Faceup
()
end
function
cm
.
xyzop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
end
...
...
expansions/script/c53799201.lua
View file @
d399b8d2
...
...
@@ -44,7 +44,7 @@ function cm.SynCondition(f1,f2,minc,maxc)
if
max
<
maxc
then
maxc
=
max
end
if
minc
>
maxc
then
return
false
end
end
local
exg
=
Duel
.
GetMatchingGroup
(
Card
.
IsLevelAbove
,
c
:
GetControler
(),
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
,
0
)
local
exg
=
Duel
.
GetMatchingGroup
(
Card
.
IsLevelAbove
,
c
:
GetControler
(),
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
,
1
)
if
mg
then
mg
:
Merge
(
exg
)
else
mg
=
exg
end
if
smat
and
smat
:
IsType
(
TYPE_TUNER
)
and
(
not
f1
or
f1
(
smat
))
then
return
mg
:
CheckSubGroup
(
cm
.
fselect1
,
minc
,
maxc
,
c
,
smat
,
f1
,
f2
,
minc
,
maxc
,
c
:
GetControler
())
end
...
...
@@ -62,7 +62,7 @@ function cm.SynTarget(f1,f2,minc,maxc)
if
minc
>
maxc
then
return
false
end
end
local
g
=
nil
local
exg
=
Duel
.
GetMatchingGroup
(
Card
.
IsLevelAbove
,
c
:
GetControler
(),
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
,
0
)
local
exg
=
Duel
.
GetMatchingGroup
(
Card
.
IsLevelAbove
,
c
:
GetControler
(),
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
,
1
)
if
mg
then
mg
:
Merge
(
exg
)
else
mg
=
exg
end
if
smat
and
smat
:
IsType
(
TYPE_TUNER
)
and
(
not
f1
or
f1
(
smat
))
then
g
=
mg
:
SelectSubGroup
(
c
:
GetControler
(),
cm
.
fselect1
,
false
,
minc
,
maxc
,
c
,
smat
,
f1
,
f2
,
minc
,
maxc
,
c
:
GetControler
())
...
...
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