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
Ai
ygopro-222DIY-cards
Commits
479ef09e
Commit
479ef09e
authored
Jan 16, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ko
parent
381aa799
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
expansions/script/c66915001.lua
expansions/script/c66915001.lua
+5
-9
expansions/script/c66915016.lua
expansions/script/c66915016.lua
+4
-1
No files found.
expansions/script/c66915001.lua
View file @
479ef09e
...
@@ -39,23 +39,19 @@ function c66915001.initial_effect(c)
...
@@ -39,23 +39,19 @@ function c66915001.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c66915001
.
filter
(
c
,
e
,
tp
)
function
c66915001
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
IsSetCard
(
0x1374
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
IsSetCard
(
0x1374
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
end
function
c66915001
.
spcon
(
e
,
c
)
function
c66915001
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
c
==
nil
then
return
true
end
return
Duel
.
IsExistingMatchingCard
(
c66915001
.
filters
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
return
Duel
.
GetLocationCountFromEx
(
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c66915001
.
filters
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
end
function
c66915001
.
filters
(
c
,
e
,
tp
)
function
c66915001
.
filters
(
c
,
e
)
return
c
:
IsSetCard
(
0x374
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x374
)
and
c
:
IsFaceup
()
end
end
function
c66915001
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c66915001
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
)
>
0
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c66915001
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c66915001
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
function
c66915001
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c66915001
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c66915001
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c66915001
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
...
expansions/script/c66915016.lua
View file @
479ef09e
...
@@ -32,11 +32,14 @@ end
...
@@ -32,11 +32,14 @@ end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x374
)
and
c
:
IsType
(
TYPE_SPELL
)
or
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x374
)
and
c
:
IsType
(
TYPE_SPELL
)
or
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsFaceup
()
end
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
66915001
)
end
function
cm
.
val
(
e
,
c
)
function
cm
.
val
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
c
:
GetControler
(),
LOCATION_SZONE
,
0
,
nil
)
*
800
return
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
c
:
GetControler
(),
LOCATION_SZONE
,
0
,
nil
)
*
800
end
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_BATTLE_START
and
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
GetCurrentPhase
()
==
PHASE_BATTLE_START
and
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
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