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
Soulgamer
ygopro-222DIY-cards
Commits
caa1cfaf
Commit
caa1cfaf
authored
Jul 26, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
dad6478a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
8 deletions
+5
-8
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/pics/71402000.jpg
expansions/pics/71402000.jpg
+0
-0
expansions/script/c12035020.lua
expansions/script/c12035020.lua
+2
-2
expansions/script/c20000001.lua
expansions/script/c20000001.lua
+2
-2
expansions/script/c20000004.lua
expansions/script/c20000004.lua
+1
-1
expansions/script/c20000013.lua
expansions/script/c20000013.lua
+0
-3
No files found.
expansions/222DIY.cdb
View file @
caa1cfaf
No preview for this file type
expansions/pics/71402000.jpg
0 → 100644
View file @
caa1cfaf
167 KB
expansions/script/c12035020.lua
View file @
caa1cfaf
...
...
@@ -78,14 +78,14 @@ function cm.spfilter(c,e,tp)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
1
,
nil
)
if
tc
:
GetCount
()
>
0
then
...
...
expansions/script/c20000001.lua
View file @
caa1cfaf
...
...
@@ -46,7 +46,7 @@ function c20000001.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
c20000001
.
conf2
(
c
)
return
c
:
IsAbleToDeckOrExtraAsCost
()
and
c
:
IsSetCard
(
0x5fd1
)
return
c
:
IsAbleToDeckOrExtraAsCost
()
and
c
:
IsSetCard
(
0x5fd1
)
and
c
:
IsFaceup
()
end
function
c20000001
.
conf21
(
g
,
tp
,
sc
)
return
g
:
GetCount
()
==
5
...
...
@@ -115,7 +115,7 @@ function c20000001.val3(e,re)
return
not
(
re
:
GetOwner
():
IsSetCard
(
0x5fd1
)
or
re
:
GetOwner
()
==
e
:
GetOwner
())
end
function
c20000001
.
cof4
(
c
)
return
c
:
IsAbleToDeckOrExtraAsCost
()
and
c
:
IsSetCard
(
0x5fd1
)
return
c
:
IsAbleToDeckOrExtraAsCost
()
and
c
:
IsSetCard
(
0x5fd1
)
and
c
:
IsFaceup
()
end
function
c20000001
.
co4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c20000001
.
cof4
,
tp
,
LOCATION_REMOVED
,
0
,
2
,
nil
)
end
...
...
expansions/script/c20000004.lua
View file @
caa1cfaf
...
...
@@ -20,7 +20,7 @@ function c20000004.initial_effect(c)
end
--e1
function
c20000004
.
cof2
(
c
)
return
c
:
Is
SetCard
(
0x5fd1
)
return
c
:
Is
Type
(
TYPE_SPELL
+
TYPE_TRAP
)
or
(
c
:
IsSetCard
(
0x5fd1
)
and
c
:
IsFaceup
()
)
end
function
c20000004
.
tgf1
(
c
,
e
,
tp
)
return
c
:
IsCode
(
20000000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
expansions/script/c20000013.lua
View file @
caa1cfaf
...
...
@@ -65,9 +65,6 @@ end
function
c20000013
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c20000013
.
conf2
,
tp
,
LOCATION_ONFIELD
,
0
,
3
,
3
,
nil
,
c
)
for
tc
in
aux
.
Next
(
g
)
do
if
tc
:
IsOnField
()
and
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c
:
SetMaterial
(
g1
)
Duel
.
SendtoDeck
(
g1
,
nil
,
2
,
REASON_COST
)
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