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
8aa587d7
Commit
8aa587d7
authored
Aug 09, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5406f467
Pipeline
#505
failed with stages
in 23 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
expansions/script/c65010127.lua
expansions/script/c65010127.lua
+3
-6
No files found.
expansions/script/c65010127.lua
View file @
8aa587d7
...
...
@@ -21,7 +21,7 @@ function c65010127.initial_effect(c)
e2
:
SetOperation
(
c65010127
.
drop
)
c
:
RegisterEffect
(
e2
)
end
function
c65010127
.
costfil
(
c
)
function
c65010127
.
costfil
(
c
,
tp
)
return
c
:
IsSetCard
(
0x9da0
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsPublic
()
and
Duel
.
IsExistingMatchingCard
(
c65010127
.
costfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetCode
())
end
...
...
@@ -29,15 +29,12 @@ function c65010127.costfilter(c,code)
return
c
:
IsSetCard
(
0x9da0
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
end
function
c65010127
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65010127
.
costfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65010127
.
costfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65010127
.
costfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65010127
.
costfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
end
function
c65010127
.
thfil
(
c
)
return
c
:
IsSetCard
(
0x9da0
)
and
not
c
:
IsCode
(
65010127
)
and
c
:
IsAbleToHand
()
end
function
c65010127
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
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