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
12a4e953
Commit
12a4e953
authored
Mar 14, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
10b1451e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16200005.lua
expansions/script/c16200005.lua
+4
-0
expansions/script/c16200008.lua
expansions/script/c16200008.lua
+6
-4
expansions/script/c33501203.lua
expansions/script/c33501203.lua
+1
-0
No files found.
expansions/222DIY.cdb
View file @
12a4e953
No preview for this file type
expansions/script/c16200005.lua
View file @
12a4e953
...
...
@@ -9,6 +9,7 @@ function c16200005.initial_effect(c)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetCountLimit
(
1
,
16200005
)
e1
:
SetCost
(
c16200005
.
cost
)
e1
:
SetCondition
(
c16200005
.
condition
)
e1
:
SetTarget
(
c16200005
.
target
)
e1
:
SetOperation
(
c16200005
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -48,6 +49,8 @@ function c16200005.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e3
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
function
c16200005
.
condition
(
e
,
tp
)
return
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
<
Duel
.
GetMatchingGroupCount
(
nil
,
1
-
tp
,
LOCATION_MZONE
,
0
,
nil
)
function
c16200005
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
e
:
GetLabelObject
()
~=
se
end
...
...
@@ -97,6 +100,7 @@ function c16200005.activate(e,tp,eg,ep,ev,re,r,rp)
token
:
RegisterEffect
(
e3
,
true
)
local
e4
=
e2
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
e4
:
SetValue
(
1
)
token
:
RegisterEffect
(
e4
,
true
)
end
Duel
.
SpecialSummonComplete
()
...
...
expansions/script/c16200008.lua
View file @
12a4e953
...
...
@@ -48,9 +48,10 @@ function c16200008.pfilter(c)
return
aux
.
IsCodeListed
(
c
,
16200003
)
and
not
c
:
IsPublic
()
end
function
c16200008
.
cost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16200008
.
pfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
GetFlagEffect
(
tp
,
16200008
)
==
0
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16200008
.
pfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
)
and
Duel
.
GetFlagEffect
(
tp
,
16200008
)
==
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
16200008
,
3
))
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c16200008
.
pfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c16200008
.
pfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
RegisterFlagEffect
(
tp
,
tp
,
16200008
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
...
...
@@ -69,9 +70,10 @@ function c16200008.condition2(e,tp,eg,ep,ev,re,r,rp)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c16200008
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16200008
.
pfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
GetFlagEffect
(
tp
,
16200009
)
==
0
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16200008
.
pfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
)
and
Duel
.
GetFlagEffect
(
tp
,
16200009
)
==
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
16200008
,
3
))
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c16200008
.
pfilter
,
tp
,
LOCATION_HAND
,
1
,
1
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c16200008
.
pfilter
,
tp
,
LOCATION_HAND
,
1
,
1
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
RegisterFlagEffect
(
tp
,
tp
,
16200009
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
...
...
expansions/script/c33501203.lua
View file @
12a4e953
...
...
@@ -61,6 +61,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
gvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
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