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
477fa218
Commit
477fa218
authored
Feb 18, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
dc959575
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
33 additions
and
14 deletions
+33
-14
expansions/script/c12062011.lua
expansions/script/c12062011.lua
+23
-1
expansions/script/c12062013.lua
expansions/script/c12062013.lua
+1
-2
expansions/script/c12062020.lua
expansions/script/c12062020.lua
+1
-1
expansions/script/c12062030.lua
expansions/script/c12062030.lua
+1
-1
expansions/script/c12062033.lua
expansions/script/c12062033.lua
+1
-2
expansions/script/c12062040.lua
expansions/script/c12062040.lua
+1
-1
expansions/script/c12062043.lua
expansions/script/c12062043.lua
+1
-2
expansions/script/c12062050.lua
expansions/script/c12062050.lua
+1
-1
expansions/script/c12062053.lua
expansions/script/c12062053.lua
+2
-2
expansions/script/c12062060.lua
expansions/script/c12062060.lua
+1
-1
No files found.
expansions/script/c12062011.lua
View file @
477fa218
...
@@ -58,7 +58,7 @@ function cm.initial_effect(c)
...
@@ -58,7 +58,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
end
function
cm
.
thfilter
(
c
,
tg
)
function
cm
.
thfilter
(
c
,
tg
)
...
@@ -84,4 +84,26 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -84,4 +84,26 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
cm
.
disfilter
(
c
)
return
c
:
IsDiscardable
(
REASON_COST
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsLevel
(
1
)
end
function
cm
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
disfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
disfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
+
REASON_DISCARD
)
end
function
cm
.
destg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
expansions/script/c12062013.lua
View file @
477fa218
...
@@ -89,8 +89,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -89,8 +89,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_COST
)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_COST
)
end
end
function
cm
.
thtg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
thtg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
cm
.
thop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
expansions/script/c12062020.lua
View file @
477fa218
...
@@ -41,7 +41,7 @@ function cm.initial_effect(c)
...
@@ -41,7 +41,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
end
function
cm
.
filter
(
c
,
tp
)
function
cm
.
filter
(
c
,
tp
)
...
...
expansions/script/c12062030.lua
View file @
477fa218
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
end
function
cm
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c12062033.lua
View file @
477fa218
...
@@ -89,8 +89,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -89,8 +89,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_COST
)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_COST
)
end
end
function
cm
.
thtg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
thtg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
cm
.
thop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--damage conversion
--damage conversion
...
...
expansions/script/c12062040.lua
View file @
477fa218
...
@@ -39,7 +39,7 @@ function cm.initial_effect(c)
...
@@ -39,7 +39,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
end
function
cm
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c12062043.lua
View file @
477fa218
...
@@ -90,8 +90,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -90,8 +90,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_COST
)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_COST
)
end
end
function
cm
.
thtg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
thtg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
cm
.
thop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
expansions/script/c12062050.lua
View file @
477fa218
...
@@ -44,7 +44,7 @@ function cm.initial_effect(c)
...
@@ -44,7 +44,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
end
function
cm
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c12062053.lua
View file @
477fa218
...
@@ -55,7 +55,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -55,7 +55,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
c
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
c
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsLevel
(
1
)
and
c
:
IsAttribute
(
ATTRIBUTE_
WIND
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsLevel
(
1
)
and
c
:
IsAttribute
(
ATTRIBUTE_
FIRE
)
and
c
:
IsAbleToHand
()
end
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
@@ -69,7 +69,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -69,7 +69,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
function
cm
.
filter
(
c
,
e
,
tp
)
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsLevel
(
1
)
and
c
:
IsAttribute
(
ATTRIBUTE_
WIND
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsLevel
(
1
)
and
c
:
IsAttribute
(
ATTRIBUTE_
FIRE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
cm
.
sptarget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sptarget
(
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
...
...
expansions/script/c12062060.lua
View file @
477fa218
...
@@ -47,7 +47,7 @@ function cm.contcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function cm.contcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
<
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
<
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
end
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
end
function
cm
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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