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
0ad019e3
Commit
0ad019e3
authored
Sep 14, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mopemope
parent
08cb0587
Pipeline
#723
failed with stages
in 59 minutes and 4 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
expansions/script/c10970012.lua
expansions/script/c10970012.lua
+2
-2
expansions/script/c98610005.lua
expansions/script/c98610005.lua
+3
-3
expansions/script/c98610010.lua
expansions/script/c98610010.lua
+4
-4
No files found.
expansions/script/c10970012.lua
View file @
0ad019e3
...
...
@@ -14,9 +14,9 @@ function c10970012.cfilter(c)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c10970012
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c10970012
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c10970012
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
()
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c10970012
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c10970012
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
e
:
GetHandler
()
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
c10970012
.
filter
(
c
)
...
...
expansions/script/c98610005.lua
View file @
0ad019e3
...
...
@@ -48,7 +48,7 @@ function c98610005.tptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsAbleToRemove
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
REASON_EFFECT
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_GRAVE
,
LOCATION_
REMOVED
,
1
,
3
,
nil
,
REASON_EFFECT
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_GRAVE
,
LOCATION_
GRAVE
,
1
,
3
,
nil
,
REASON_EFFECT
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c98610005
.
tpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -56,9 +56,9 @@ function c98610005.tpop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
local
g1
=
Duel
.
GetOperatedGroup
()
local
ct
=
g1
:
FilterCount
(
c98610005
.
tfilter
,
nil
)
if
ct
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
REASON_EFFECT
)
if
ct
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
,
REASON_EFFECT
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
98610005
,
2
))
then
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
ct
*
2
,
nil
,
REASON_EFFECT
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
ct
*
2
,
nil
,
REASON_EFFECT
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
\ No newline at end of file
expansions/script/c98610010.lua
View file @
0ad019e3
...
...
@@ -18,21 +18,21 @@ function c98610010.initial_effect(c)
e2
:
SetCode
(
EVENT_REMOVE
)
e2
:
SetCountLimit
(
1
,
98610010
)
e2
:
SetCondition
(
c98610010
.
tpcon
)
e
1
:
SetCost
(
c98610010
.
tpcost
)
e
2
:
SetCost
(
c98610010
.
tpcost
)
e2
:
SetTarget
(
c98610010
.
tptg
)
e2
:
SetOperation
(
c98610010
.
tpop
)
c
:
RegisterEffect
(
e2
)
Duel
.
AddCustomActivityCounter
(
98610010
,
ACTIVITY_CHAIN
,
c98610010
.
chainfilter
)
end
function
c98610010
.
chainfilter
(
re
,
tp
,
cid
)
return
re
:
GetHandler
():
IsSetCard
(
0x70
)
return
re
:
GetHandler
():
IsSetCard
(
0x
8
70
)
end
function
c98610010
.
filter
(
c
)
return
c
:
IsSetCard
(
0x870
)
and
c
:
IsAbleToRemove
()
end
function
c98610010
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
Duel
.
GetDecktopGroup
(
tp
,
3
)
if
chk
==
0
then
return
rg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
,
REASON_EFFECT
)
>
0
end
if
chk
==
0
then
return
rg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
rg
,
3
,
0
,
0
)
end
function
c98610010
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -66,7 +66,7 @@ function c98610010.tpcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c98610010
.
aclimit
(
e
,
re
,
tp
)
return
not
re
:
GetHandler
():
IsSetCard
(
0x70
)
return
not
re
:
GetHandler
():
IsSetCard
(
0x
8
70
)
end
function
c98610010
.
tptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg1
=
Duel
.
GetDecktopGroup
(
tp
,
5
)
...
...
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