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
b5326cf8
Commit
b5326cf8
authored
Apr 14, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
d55a213d
Pipeline
#2927
passed with stages
in 29 minutes and 55 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
10 deletions
+11
-10
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33700653.lua
expansions/script/c33700653.lua
+4
-4
expansions/script/c33700659.lua
expansions/script/c33700659.lua
+1
-0
expansions/script/c33701379.lua
expansions/script/c33701379.lua
+1
-1
expansions/script/c33701398.lua
expansions/script/c33701398.lua
+5
-5
No files found.
expansions/222DIY.cdb
View file @
b5326cf8
No preview for this file type
expansions/script/c33700653.lua
View file @
b5326cf8
...
...
@@ -63,11 +63,11 @@ end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
tt
=
Duel
.
GetMatchingGroup
(
cm
.
thfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
MZONE
)
end
if
chk
==
0
then
return
#
tt
>
0
and
Duel
.
IsExistingTarget
(
cm
.
tgfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
ONFIELD
)
end
if
chk
==
0
then
return
#
tt
>
0
and
Duel
.
IsExistingTarget
(
cm
.
tgfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
tgfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
#
tt
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
#
tt
,
0
,
0
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
tgfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
#
tt
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
#
tt
,
0
,
0
)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c33700659.lua
View file @
b5326cf8
...
...
@@ -42,6 +42,7 @@ function cm.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return
bit
.
band
(
sumpos
,
POS_FACEDOWN
)
>
0
or
not
se
:
GetHandler
():
IsCode
(
m
)
end
function
cm
.
val
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
if
not
se
then
return
true
end
return
not
se
:
GetHandler
():
IsCode
(
m
)
end
function
cm
.
filter
(
c
)
...
...
expansions/script/c33701379.lua
View file @
b5326cf8
...
...
@@ -62,7 +62,7 @@ function cm.sprcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_HAND
,
LOCATION_ONFIELD
,
LOCATION_GRAVE
,
0
,
nil
)
return
g
:
CheckSubGroup
(
cm
.
fselect
,
9
,
9
,
tp
,
s
c
)
return
g
:
CheckSubGroup
(
cm
.
fselect
,
9
,
9
,
tp
,
c
)
end
function
cm
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_HAND
,
LOCATION_ONFIELD
,
LOCATION_GRAVE
,
0
,
nil
)
...
...
expansions/script/c33701398.lua
View file @
b5326cf8
...
...
@@ -51,7 +51,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_EP
)
...
...
@@ -59,7 +59,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_MAIN1
+
RESET_OPPO_TURN
)
Duel
.
RegisterEffect
(
e2
,
tp
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetCountLimit
(
1
)
...
...
@@ -69,7 +69,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
m
,
0
))
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EFFECT_SKIP_TURN
)
...
...
@@ -77,7 +77,7 @@ function cm.op1(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e3
:
SetCountLimit
(
1
)
...
...
@@ -95,7 +95,7 @@ function cm.spfilter(c,e,tp)
end
function
cm
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
if
g
:
GetCount
()
>
0
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
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