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
477fa218
Commit
477fa218
authored
Feb 18, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
dc959575
Pipeline
#2441
passed with stages
in 45 minutes and 23 seconds
Changes
10
Pipelines
1
Show 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)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
function
cm
.
thfilter
(
c
,
tg
)
...
...
@@ -85,3 +85,25 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
spfilter
,
1
,
1
,
nil
,
ft
,
tp
)
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
\ 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)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_COST
)
end
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
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
if
chk
==
0
then
return
true
end
end
function
cm
.
thop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
expansions/script/c12062020.lua
View file @
477fa218
...
...
@@ -41,7 +41,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
function
cm
.
filter
(
c
,
tp
)
...
...
expansions/script/c12062030.lua
View file @
477fa218
...
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
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)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_COST
)
end
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
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
if
chk
==
0
then
return
true
end
end
function
cm
.
thop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
--damage conversion
...
...
expansions/script/c12062040.lua
View file @
477fa218
...
...
@@ -39,7 +39,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
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)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_COST
)
end
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
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
if
chk
==
0
then
return
true
end
end
function
cm
.
thop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
expansions/script/c12062050.lua
View file @
477fa218
...
...
@@ -44,7 +44,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
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)
Duel
.
SendtoGrave
(
c
,
REASON_COST
+
REASON_DISCARD
)
end
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
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
...
...
@@ -69,7 +69,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
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
function
cm
.
sptarget
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
<
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
ec
=
sc
:
GetHandler
()
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsRace
(
RACE_DRAGON
)
end
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