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
cd8540d4
Commit
cd8540d4
authored
Jul 05, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tianqiao
parent
81ae183a
Pipeline
#264
passed with stage
in 8 minutes and 49 seconds
Changes
18
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
823 additions
and
810 deletions
+823
-810
expansions/script/c12005004.lua
expansions/script/c12005004.lua
+3
-4
expansions/script/c12030009.lua
expansions/script/c12030009.lua
+13
-14
expansions/script/c14000602.lua
expansions/script/c14000602.lua
+3
-1
expansions/script/c14010058.lua
expansions/script/c14010058.lua
+3
-4
expansions/script/c14141006.lua
expansions/script/c14141006.lua
+3
-2
expansions/script/c33330092.lua
expansions/script/c33330092.lua
+1
-0
expansions/script/c37564226.lua
expansions/script/c37564226.lua
+1
-0
expansions/script/c37564523.lua
expansions/script/c37564523.lua
+1
-0
expansions/script/c60152311.lua
expansions/script/c60152311.lua
+124
-123
expansions/script/c60152312.lua
expansions/script/c60152312.lua
+1
-0
expansions/script/c60152313.lua
expansions/script/c60152313.lua
+149
-148
expansions/script/c60152314.lua
expansions/script/c60152314.lua
+178
-177
expansions/script/c60152315.lua
expansions/script/c60152315.lua
+197
-196
expansions/script/c60152316.lua
expansions/script/c60152316.lua
+139
-138
expansions/script/c69696006.lua
expansions/script/c69696006.lua
+2
-1
expansions/script/c76121005.lua
expansions/script/c76121005.lua
+2
-1
expansions/script/c81016019.lua
expansions/script/c81016019.lua
+2
-1
expansions/script/c9910237.lua
expansions/script/c9910237.lua
+1
-0
No files found.
expansions/script/c12005004.lua
View file @
cd8540d4
...
...
@@ -81,11 +81,10 @@ function c12005004.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c12005004
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
\ No newline at end of file
expansions/script/c12030009.lua
View file @
cd8540d4
...
...
@@ -32,16 +32,16 @@ function c12030009.initial_effect(c)
e2
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e2
)
--to grave
--
local e3=Effect.CreateEffect(c)
--
e3:SetDescription(aux.Stringid(m,2))
--
e3:SetCategory(CATEGORY_TOHAND)
--
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
--
e3:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
--
e3:SetCode(EVENT_TO_GRAVE)
--
e3:SetCondition(cm.drcon)
--
e3:SetTarget(cm.drtg)
--
e3:SetOperation(cm.drop)
--
c:RegisterEffect(e3)
--
local e3=Effect.CreateEffect(c)
--
e3:SetDescription(aux.Stringid(m,2))
--
e3:SetCategory(CATEGORY_TOHAND)
--
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
--
e3:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
--
e3:SetCode(EVENT_TO_GRAVE)
--
e3:SetCondition(cm.drcon)
--
e3:SetTarget(cm.drtg)
--
e3:SetOperation(cm.drop)
--
c:RegisterEffect(e3)
end
function
cm
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -67,12 +67,11 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
...
...
expansions/script/c14000602.lua
View file @
cd8540d4
...
...
@@ -59,8 +59,10 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
,
tc
=
e
:
GetHandler
(),
Duel
.
GetFirstTarget
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
2
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
expansions/script/c14010058.lua
View file @
cd8540d4
...
...
@@ -41,12 +41,11 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
function
cm
.
tgfilter
(
c
,
e
,
tp
)
...
...
expansions/script/c14141006.lua
View file @
cd8540d4
...
...
@@ -33,6 +33,7 @@ end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetMZoneCount
(
tp
)
<=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
:
GetCode
())
if
g
:
GetCount
()
>
0
then
...
...
@@ -213,7 +214,7 @@ function scorp.SelectGroup(tp,desc,g,f,cg,min,max,...)
local
sg
=
Group
.
CreateGroup
()
local
cg
=
cg
or
Group
.
CreateGroup
()
sg
:
Merge
(
cg
)
local
ag
=
g
:
Filter
(
scorp
.
CheckGroupRecursive
,
sg
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
local
ag
=
g
:
Filter
(
scorp
.
CheckGroupRecursive
,
sg
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
while
#
sg
<
max
and
#
ag
>
0
do
local
finish
=
(
#
sg
>=
min
and
#
sg
<=
max
and
f
(
sg
,
...
))
local
seg
=
sg
-
cg
...
...
@@ -238,7 +239,7 @@ function scorp.SelectGroupWithCancel(tp,desc,g,f,cg,min,max,...)
local
sg
=
Group
.
CreateGroup
()
local
cg
=
cg
or
Group
.
CreateGroup
()
sg
:
Merge
(
cg
)
local
ag
=
g
:
Filter
(
scorp
.
CheckGroupRecursive
,
sg
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
local
ag
=
g
:
Filter
(
scorp
.
CheckGroupRecursive
,
sg
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
while
#
sg
<
max
and
#
ag
>
0
do
local
finish
=
(
#
sg
>=
min
and
#
sg
<=
max
and
f
(
sg
,
...
))
local
cancel
=
finish
or
#
sg
==
0
...
...
expansions/script/c33330092.lua
View file @
cd8540d4
...
...
@@ -65,6 +65,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
Duel
.
GetMZoneCount
(
tp
)
>
0
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
:
GetLevel
(),
tc
:
GetCode
())
...
...
expansions/script/c37564226.lua
View file @
cd8540d4
...
...
@@ -34,6 +34,7 @@ end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetMZoneCount
(
tp
)
<=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
:
GetCode
())
if
#
g
>
0
then
...
...
expansions/script/c37564523.lua
View file @
cd8540d4
...
...
@@ -33,6 +33,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
:
GetCode
())
if
#
g
>
0
then
...
...
expansions/script/c60152311.lua
View file @
cd8540d4
This diff is collapsed.
Click to expand it.
expansions/script/c60152312.lua
View file @
cd8540d4
...
...
@@ -116,6 +116,7 @@ end
function
c60152312
.
e99op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
local
g0
=
Group
.
CreateGroup
()
local
gb
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_GRAVE
,
0
)
...
...
expansions/script/c60152313.lua
View file @
cd8540d4
This diff is collapsed.
Click to expand it.
expansions/script/c60152314.lua
View file @
cd8540d4
This diff is collapsed.
Click to expand it.
expansions/script/c60152315.lua
View file @
cd8540d4
This diff is collapsed.
Click to expand it.
expansions/script/c60152316.lua
View file @
cd8540d4
This diff is collapsed.
Click to expand it.
expansions/script/c69696006.lua
View file @
cd8540d4
...
...
@@ -39,9 +39,10 @@ function cm.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
cm
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
local
atk
=
tc
:
GetTextAttack
()
if
atk
<
0
then
atk
=
0
end
...
...
expansions/script/c76121005.lua
View file @
cd8540d4
...
...
@@ -47,9 +47,10 @@ function c76121005.sptg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c76121005
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
...
...
expansions/script/c81016019.lua
View file @
cd8540d4
...
...
@@ -42,9 +42,10 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
tc
:
GetSummonLocation
()
==
LOCATION_EXTRA
then
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENSE
)
...
...
expansions/script/c9910237.lua
View file @
cd8540d4
...
...
@@ -37,6 +37,7 @@ end
function
c9910237
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
local
tc
=
Duel
.
GetFirstTarget
()
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9910237
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
:
GetCode
())
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