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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
4c3883e6
Commit
4c3883e6
authored
Aug 13, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
26227eb7
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
11 deletions
+18
-11
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12029071.lua
expansions/script/c12029071.lua
+1
-0
expansions/script/c20000101.lua
expansions/script/c20000101.lua
+5
-3
expansions/script/c20000102.lua
expansions/script/c20000102.lua
+4
-4
expansions/script/c33500311.lua
expansions/script/c33500311.lua
+1
-1
expansions/script/c33501411.lua
expansions/script/c33501411.lua
+1
-1
expansions/script/c33501417.lua
expansions/script/c33501417.lua
+1
-1
expansions/script/c33501423.lua
expansions/script/c33501423.lua
+5
-1
No files found.
expansions/222DIY.cdb
View file @
4c3883e6
No preview for this file type
expansions/script/c12029071.lua
View file @
4c3883e6
...
...
@@ -66,6 +66,7 @@ end
function
cm
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
lv
=
c
:
GetOriginalLevel
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
e
,
tp
,
lv
,
c
)
if
not
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
...
...
expansions/script/c20000101.lua
View file @
4c3883e6
...
...
@@ -80,8 +80,10 @@ end
function
c20000101
.
op3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoHand
(
tc
,
tp
,
REASON_EFFECT
)
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20000101
.
opf3
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
20000101
,
3
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20000101
.
opf3
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
\ No newline at end of file
expansions/script/c20000102.lua
View file @
4c3883e6
...
...
@@ -21,10 +21,10 @@ function c20000102.initial_effect(c)
end
--e1
function
c20000102
.
cf1
(
c
)
return
c
:
IsCode
(
20000100
)
and
c
:
IsFaceup
(
)
return
c
:
IsCode
(
20000100
)
and
(
c
:
IsFaceup
()
or
not
c
:
IsLocation
(
LOCATION_ONFIELD
)
)
end
function
c20000102
.
con1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c20000102
.
cf1
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c20000102
.
cf1
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
end
function
c20000102
.
co1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
...
...
@@ -36,7 +36,7 @@ function c20000102.cof1(c,e,tp)
end
function
c20000102
.
cof12
(
c
,
e
,
tp
,
att
,
mc
)
return
c
:
IsSetCard
(
0x6fd1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
GetAttribute
()
==
att
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
and
not
c
:
IsCode
(
20000118
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
and
(
c
:
IsLevel
(
8
)
or
c
:
IsRank
(
8
)
)
end
function
c20000102
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
@@ -57,7 +57,7 @@ function c20000102.op1(e,tp,eg,ep,ev,re,r,rp)
tc
:
CompleteProcedure
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20000102
.
cf1
,
tp
,
LOCATION_
MZONE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20000102
.
cf1
,
tp
,
LOCATION_
ONFIELD
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
...
...
expansions/script/c33500311.lua
View file @
4c3883e6
...
...
@@ -65,5 +65,5 @@ function cm.nop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
end
function
cm
.
disable
(
e
,
c
)
return
c
:
GetFieldID
()
~=
e
:
GetLabel
()
and
(
not
c
:
IsType
(
TYPE_MONSTER
)
or
(
c
:
IsType
(
TYPE_EFFECT
)
or
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_EFFECT
)
==
TYPE_EFFECT
))
return
c
:
GetFieldID
()
~=
e
:
GetLabel
()
and
c
:
IsType
(
TYPE_SPELL
)
end
\ No newline at end of file
expansions/script/c33501411.lua
View file @
4c3883e6
...
...
@@ -49,7 +49,7 @@ end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
1
,
nil
):
GetFirst
()
if
tc
and
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
then
if
tc
and
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
then
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c33501417.lua
View file @
4c3883e6
...
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTarget
(
cm
.
indtg
)
e1
:
SetValue
(
aux
.
tgoval
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
--cannot be battle target
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c33501423.lua
View file @
4c3883e6
...
...
@@ -29,12 +29,16 @@ function cm.initial_effect(c)
e11
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
)
e11
:
SetRange
(
LOCATION_MZONE
)
e11
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e11
:
SetTargetRange
(
0
,
0xff
)
e11
:
SetTargetRange
(
0
xff
,
0xff
)
e11
:
SetValue
(
LOCATION_DECKBOT
)
e11
:
SetCondition
(
cm
.
condition
)
e11
:
SetTarget
(
cm
.
rmtg
)
c
:
RegisterEffect
(
e11
)
local
e1
=
Suyu_skysele
.
mutlink
(
c
,
m
,
nil
,
cm
.
thtg
,
cm
.
thop
)
end
function
cm
.
rmtg
(
e
,
c
)
return
c
:
GetOwner
()
~=
e
:
GetHandlerPlayer
()
end
function
cm
.
matfilter
(
c
)
return
c
:
IsLinkRace
(
RACE_CYBERSE
)
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