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
8556f92b
Commit
8556f92b
authored
Dec 28, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
dd196eb7
Pipeline
#8367
passed with stages
in 22 minutes and 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12892099.lua
expansions/script/c12892099.lua
+8
-8
No files found.
expansions/222DIY.cdb
View file @
8556f92b
No preview for this file type
expansions/script/c12892099.lua
View file @
8556f92b
...
...
@@ -41,13 +41,13 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x7
b71
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x7
a72
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
cm
.
chfilter
(
c
,
tp
)
return
(
c
:
IsSetCard
(
0x7
b71
)
or
c
:
IsSetCard
(
0x8b71
))
and
c
:
IsFaceup
()
return
(
c
:
IsSetCard
(
0x7
a72
)
or
c
:
IsSetCard
(
0x8a72
))
and
c
:
IsFaceup
()
end
function
cm
.
hfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x8
b71
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x8
a72
)
and
c
:
IsFaceup
()
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -62,12 +62,12 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
target1
(
e
,
c
)
return
c
:
IsSetCard
(
0x8
b71
)
or
c
:
IsSetCard
(
0x7b71
)
return
c
:
IsSetCard
(
0x8
a72
)
or
c
:
IsSetCard
(
0x7a72
)
end
function
cm
.
mfilter
(
c
,
e
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
function
(
c
,
mc
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x8
b71
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
((
mc
:
IsReason
(
REASON_BATTLE
)
and
mc
:
GetReasonPlayer
()
==
tp
and
(
mc
:
GetReasonCard
():
IsSetCard
(
0x8b71
)
or
mc
:
GetReasonCard
():
IsSetCard
(
0x7b71
)))
or
(
mc
:
IsReason
(
REASON_EFFECT
)
and
mc
:
GetReasonPlayer
()
==
tp
))
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x8
a72
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
((
mc
:
IsReason
(
REASON_BATTLE
)
and
mc
:
GetReasonPlayer
()
==
tp
and
(
mc
:
GetReasonCard
():
IsSetCard
(
0x8a72
)
or
mc
:
GetReasonCard
():
IsSetCard
(
0x7a72
)))
or
(
mc
:
IsReason
(
REASON_EFFECT
)
and
mc
:
GetReasonPlayer
()
==
tp
and
(
re
:
GetHandler
():
IsSetCard
(
0x8a72
)
or
re
:
GetHandler
():
IsSetCard
(
0x7a72
))
))
end
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
c
)
end
function
cm
.
ovtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -77,8 +77,8 @@ function cm.ovop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
local
g
=
eg
:
Filter
(
cm
.
mfilter
,
e
:
GetHandler
(),
e
,
tp
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
function
(
c
,
sg
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x8
b71
)
and
sg
:
IsExists
(
function
(
c
,
sc
)
return
c
:
IsCanBeXyzMaterial
(
sc
)
end
,
1
,
nil
,
c
)
end
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
g
):
GetFirst
()
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x8
a72
)
and
sg
:
IsExists
(
function
(
c
,
sc
)
return
c
:
IsCanBeXyzMaterial
(
sc
)
end
,
1
,
nil
,
c
)
end
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
g
):
GetFirst
()
if
g
==
nil
then
return
end
if
tc
==
nil
then
return
end
if
g
:
GetCount
()
>
0
then
...
...
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