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
6a3c012b
Commit
6a3c012b
authored
Aug 28, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wadashimo
parent
bf6c0b0a
Pipeline
#645
failed with stages
in 22 minutes and 25 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
expansions/script/c12004024.lua
expansions/script/c12004024.lua
+2
-2
expansions/script/c12009014.lua
expansions/script/c12009014.lua
+1
-1
expansions/script/c12010004.lua
expansions/script/c12010004.lua
+2
-2
expansions/script/c12010005.lua
expansions/script/c12010005.lua
+1
-1
expansions/script/c12011001.lua
expansions/script/c12011001.lua
+2
-2
expansions/script/c12050022.lua
expansions/script/c12050022.lua
+1
-1
No files found.
expansions/script/c12004024.lua
View file @
6a3c012b
...
...
@@ -56,7 +56,7 @@ function cm.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetCountLimit
(
1
,
12004024
+
100
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c12004024
.
pencon
)
e4
:
SetTarget
(
c12004024
.
pentg
)
e4
:
SetOperation
(
c12004024
.
penop
)
...
...
@@ -188,5 +188,5 @@ end
function
c12004024
.
penop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
end
local
c
=
e
:
GetHandler
()
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_
S
ZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_
P
ZONE
,
POS_FACEUP
,
true
)
end
\ No newline at end of file
expansions/script/c12009014.lua
View file @
6a3c012b
...
...
@@ -43,7 +43,7 @@ function c12009014.recon(e,tp,eg,ep,ev,re,r,rp)
end
function
c12009014
.
reop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
1
-
tp
,
LOCATION_
S
ZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
1
-
tp
,
LOCATION_
P
ZONE
,
POS_FACEUP
,
true
)
end
function
c12009014
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tp
=
e
:
GetHandler
():
GetControler
()
...
...
expansions/script/c12010004.lua
View file @
6a3c012b
...
...
@@ -47,13 +47,13 @@ function c12010004.spfilter(c,e,tp)
end
function
c12010004
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_XYZ
)
>
0
and
Duel
.
IsExisting
Target
(
c12010004
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExisting
MatchingCard
(
c12010004
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c12010004
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
TYPE_XYZ
)
<=
0
then
return
false
end
if
not
Duel
.
IsExisting
Target
(
c12010004
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
then
return
false
end
if
not
Duel
.
IsExisting
MatchingCard
(
c12010004
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
then
return
false
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12010004
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
...
...
expansions/script/c12010005.lua
View file @
6a3c012b
...
...
@@ -44,7 +44,7 @@ function c12010005.operation(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_
S
ZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_
P
ZONE
,
POS_FACEUP
,
true
)
end
end
end
...
...
expansions/script/c12011001.lua
View file @
6a3c012b
...
...
@@ -82,7 +82,7 @@ function c12011001.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12011001
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
MoveToField
(
g
:
GetFirst
(),
tp
,
tp
,
LOCATION_
S
ZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
g
:
GetFirst
(),
tp
,
tp
,
LOCATION_
P
ZONE
,
POS_FACEUP
,
true
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12011001
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
...
...
@@ -135,4 +135,4 @@ function c12011001.adop1(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetValue
(
atk
)
tc
:
RegisterEffect
(
e2
)
end
end
end
\ No newline at end of file
expansions/script/c12050022.lua
View file @
6a3c012b
...
...
@@ -74,4 +74,4 @@ function cm.thop1(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
MoveToField
(
g
:
GetFirst
(),
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
end
end
end
\ No newline at end of file
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