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
d127ede0
Commit
d127ede0
authored
Feb 01, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdnmd
parent
d7958ba3
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
14 deletions
+14
-14
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c72410640.lua
expansions/script/c72410640.lua
+3
-3
expansions/script/c72410650.lua
expansions/script/c72410650.lua
+1
-1
expansions/script/c72410660.lua
expansions/script/c72410660.lua
+1
-1
expansions/script/c72410670.lua
expansions/script/c72410670.lua
+1
-1
expansions/script/c72410680.lua
expansions/script/c72410680.lua
+2
-2
expansions/script/c72411150.lua
expansions/script/c72411150.lua
+1
-1
expansions/script/c72411180.lua
expansions/script/c72411180.lua
+3
-2
expansions/strings.conf
expansions/strings.conf
+2
-3
No files found.
expansions/222DIY.cdb
View file @
d127ede0
No preview for this file type
expansions/script/c72410640.lua
View file @
d127ede0
...
@@ -12,7 +12,7 @@ function c72410640.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c72410640.initial_effect(c)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e2
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e2
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e2
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
7729
))
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
e728
))
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--synchro summon
--synchro summon
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -29,13 +29,13 @@ function c72410640.initial_effect(c)
...
@@ -29,13 +29,13 @@ function c72410640.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c72410640
.
scfilter
(
c
,
tp
)
function
c72410640
.
scfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
7729
)
and
c
:
IsControler
(
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
e728
)
and
c
:
IsControler
(
tp
)
end
end
function
c72410640
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c72410640
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c72410640
.
scfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c72410640
.
scfilter
,
1
,
nil
,
tp
)
end
end
function
c72410640
.
thfilter
(
c
)
function
c72410640
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
7729
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
e728
)
and
c
:
IsAbleToHand
()
end
end
function
c72410640
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72410640
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72410640
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72410640
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c72410650.lua
View file @
d127ede0
...
@@ -33,7 +33,7 @@ function c72410650.initial_effect(c)
...
@@ -33,7 +33,7 @@ function c72410650.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c72410650
.
cfilter
(
c
,
ft
)
function
c72410650
.
cfilter
(
c
,
ft
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToHandAsCost
()
and
c
:
IsSetCard
(
0x
7729
)
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToHandAsCost
()
and
c
:
IsSetCard
(
0x
e728
)
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
end
end
function
c72410650
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72410650
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
expansions/script/c72410660.lua
View file @
d127ede0
...
@@ -29,7 +29,7 @@ function c72410660.initial_effect(c)
...
@@ -29,7 +29,7 @@ function c72410660.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c72410660
.
cfilter
(
c
,
ft
)
function
c72410660
.
cfilter
(
c
,
ft
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToHandAsCost
()
and
c
:
IsSetCard
(
0x
7729
)
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToHandAsCost
()
and
c
:
IsSetCard
(
0x
e728
)
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
end
end
function
c72410660
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72410660
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
expansions/script/c72410670.lua
View file @
d127ede0
...
@@ -23,7 +23,7 @@ function c72410670.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c72410670.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c72410670
.
cfilter
(
c
,
ft
)
function
c72410670
.
cfilter
(
c
,
ft
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToHandAsCost
()
and
c
:
IsSetCard
(
0x
7729
)
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToHandAsCost
()
and
c
:
IsSetCard
(
0x
e728
)
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
end
end
function
c72410670
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72410670
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
expansions/script/c72410680.lua
View file @
d127ede0
...
@@ -31,7 +31,7 @@ function c72410680.initial_effect(c)
...
@@ -31,7 +31,7 @@ function c72410680.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c72410680
.
spfilter
(
c
,
e
,
tp
)
function
c72410680
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
7729
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x
e728
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c72410680
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72410680
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
@@ -47,7 +47,7 @@ function c72410680.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c72410680.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c72410680
.
scfilter
(
c
,
tp
)
function
c72410680
.
scfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
7729
)
and
c
:
IsControler
(
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
e728
)
and
c
:
IsControler
(
tp
)
end
end
function
c72410680
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c72410680
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c72410680
.
scfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c72410680
.
scfilter
,
1
,
nil
,
tp
)
...
...
expansions/script/c72411150.lua
View file @
d127ede0
...
@@ -65,7 +65,7 @@ function c72411150.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +65,7 @@ function c72411150.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
elseif
opt
==
1
then
elseif
opt
==
1
then
if
Duel
.
DiscardHand
(
tp
,
c72411150
.
filter2
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
)
~=
0
then
if
Duel
.
DiscardHand
(
tp
,
c72411150
.
filter2
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
)
~=
0
then
local
token
=
Duel
.
CreateToken
(
tp
,
724
30323
)
local
token
=
Duel
.
CreateToken
(
tp
,
724
11151
)
if
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c72411180.lua
View file @
d127ede0
...
@@ -62,11 +62,12 @@ function c72411180.cfilter(c,tp)
...
@@ -62,11 +62,12 @@ function c72411180.cfilter(c,tp)
return
c
:
IsCode
(
72411030
)
and
c
:
IsDiscardable
(
REASON_COST
)
return
c
:
IsCode
(
72411030
)
and
c
:
IsDiscardable
(
REASON_COST
)
end
end
function
c72411180
.
cost3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72411180
.
cost3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72411180
.
c
ost
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72411180
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
c72411180
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
c72411180
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
c72411180
.
target3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72411180
.
target3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c72411180
.
operation3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c72411180
.
operation3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/strings.conf
View file @
d127ede0
...
@@ -782,11 +782,10 @@
...
@@ -782,11 +782,10 @@
!
setname
0
x720
大庭院
!
setname
0
x720
大庭院
!
setname
0
x721
百鬼妖游祭行
!
setname
0
x721
百鬼妖游祭行
!
setname
0
x723
钢铁叛乱
!
setname
0
x723
钢铁叛乱
!
setname
0
x3729
神花机关
!
setname
0
x6728
神花机关
!
setname
0
xe728
神花姬
!
setname
0
x5729
马纳历亚
!
setname
0
x5729
马纳历亚
!
setname
0
x6729
神造遗物
!
setname
0
x6729
神造遗物
!
setname
0
x7729
神花姬
#(0x7729为0x3729子字段,暂时无影响)
!
setname
0
x9729
电晶
!
setname
0
x9729
电晶
!
setname
0
xe729
神造遗物使
!
setname
0
xe729
神造遗物使
...
...
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