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
5303516b
Commit
5303516b
authored
Feb 15, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
res
parent
36e485b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
expansions/script/c33400474.lua
expansions/script/c33400474.lua
+2
-2
No files found.
expansions/script/c33400474.lua
View file @
5303516b
...
@@ -19,7 +19,7 @@ end
...
@@ -19,7 +19,7 @@ end
function
c33400474
.
cfilter
(
c
,
e
,
tp
)
function
c33400474
.
cfilter
(
c
,
e
,
tp
)
local
nm
local
nm
if
c
:
IsType
(
TYPE_XYZ
)
then
nm
=
c
:
GetRank
()
if
c
:
IsType
(
TYPE_XYZ
)
then
nm
=
c
:
GetRank
()
elseif
c
:
IsType
(
TYPE_LINK
)
then
nm
=
2
*
(
c
:
GetLink
Marker
())
elseif
c
:
IsType
(
TYPE_LINK
)
then
nm
=
2
*
(
c
:
GetLink
())
else
nm
=
c
:
GetLevel
()
else
nm
=
c
:
GetLevel
()
end
end
return
c
:
IsSetCard
(
0x341
)
and
c
:
IsAbleToRemoveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c33400474
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
nm
)
return
c
:
IsSetCard
(
0x341
)
and
c
:
IsAbleToRemoveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c33400474
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
nm
)
...
@@ -48,7 +48,7 @@ function c33400474.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c33400474.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
nm
local
nm
if
tc
:
IsType
(
TYPE_XYZ
)
then
nm
=
tc
:
GetRank
()
if
tc
:
IsType
(
TYPE_XYZ
)
then
nm
=
tc
:
GetRank
()
elseif
tc
:
IsType
(
TYPE_LINK
)
then
nm
=
2
*
(
tc
:
GetLink
Marker
())
elseif
tc
:
IsType
(
TYPE_LINK
)
then
nm
=
2
*
(
tc
:
GetLink
())
else
nm
=
tc
:
GetLevel
()
else
nm
=
tc
:
GetLevel
()
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
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