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
REIKAI
ygopro-222DIY-cards
Commits
aabb1661
Commit
aabb1661
authored
Jan 07, 2025
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
man!
parent
5ac8e536
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
expansions/script/c81902104.lua
expansions/script/c81902104.lua
+5
-5
expansions/script/c81902105.lua
expansions/script/c81902105.lua
+5
-5
No files found.
expansions/script/c81902104.lua
View file @
aabb1661
...
...
@@ -47,14 +47,14 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
--spsummon
function
cm
.
xyzfilter
(
c
,
e
)
function
cm
.
xyzfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeXyzMaterial
(
e
:
GetHandler
())
and
(
Duel
.
GetLocationCountFromEx
(
tp
)
>
0
or
Duel
.
GetLocationCountFromEx
(
1
-
tp
)
>
0
)
and
c
:
GetOverlayCount
()
>
0
and
c
:
IsType
(
TYPE_XYZ
)
end
function
cm
.
con
(
e
,
c
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
xyzfilter
,
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
,
1
,
nil
,
e
)
and
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
==
0
return
Duel
.
IsExistingMatchingCard
(
cm
.
xyzfilter
,
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
,
1
,
nil
,
e
,
e
:
GetHandlerPlayer
()
)
and
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
==
0
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
og
,
min
,
max
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
xyzfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
xyzfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
,
e
:
GetHandlerPlayer
()
)
if
#
g
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
xg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
@@ -75,10 +75,10 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp,c,og,min,max)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
function
cm
.
con2
(
e
,
c
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
xyzfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
and
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
==
0
return
Duel
.
IsExistingMatchingCard
(
cm
.
xyzfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
e
:
GetHandlerPlayer
()
)
and
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
==
0
end
function
cm
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
og
,
min
,
max
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
,
e
:
GetHandlerPlayer
()
)
if
#
g
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
xg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
expansions/script/c81902105.lua
View file @
aabb1661
...
...
@@ -47,14 +47,14 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
--spsummon
function
cm
.
xyzfilter
(
c
,
e
)
function
cm
.
xyzfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeXyzMaterial
(
e
:
GetHandler
())
and
(
Duel
.
GetLocationCountFromEx
(
tp
)
>
0
or
Duel
.
GetLocationCountFromEx
(
1
-
tp
)
>
0
)
and
c
:
GetOverlayCount
()
>
0
and
c
:
IsType
(
TYPE_XYZ
)
end
function
cm
.
con
(
e
,
c
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
xyzfilter
,
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
,
1
,
nil
,
e
)
and
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
==
0
return
Duel
.
IsExistingMatchingCard
(
cm
.
xyzfilter
,
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
,
1
,
nil
,
e
,
e
:
GetHandlerPlayer
()
)
and
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
==
0
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
og
,
min
,
max
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
xyzfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
xyzfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
,
e
:
GetHandlerPlayer
()
)
if
#
g
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
xg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
@@ -86,10 +86,10 @@ function cm.retop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
function
cm
.
con2
(
e
,
c
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
xyzfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
and
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
==
0
return
Duel
.
IsExistingMatchingCard
(
cm
.
xyzfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
e
:
GetHandlerPlayer
()
)
and
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
==
0
end
function
cm
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
og
,
min
,
max
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
,
e
:
GetHandlerPlayer
()
)
if
#
g
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
xg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
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