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
c48187ff
Commit
c48187ff
authored
Jun 18, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iidx goooooooooooooooold
parent
1969f156
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c65010517.lua
expansions/script/c65010517.lua
+8
-1
No files found.
expansions/222DIY.cdb
View file @
c48187ff
No preview for this file type
expansions/script/c65010517.lua
View file @
c48187ff
...
@@ -87,10 +87,17 @@ function c65010517.costchk(e,te_or_c,tp)
...
@@ -87,10 +87,17 @@ function c65010517.costchk(e,te_or_c,tp)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
local
ct
=
Duel
.
GetFlagEffect
(
tp
,
65010517
)
local
ct
=
Duel
.
GetFlagEffect
(
tp
,
65010517
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ct
*
4
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ct
*
4
)
return
g
:
FilterCount
(
Card
.
IsAbleToRemoveAsCost
,
nil
)
==
ct
*
4
and
tc
:
GetFlagEffect
(
65010517
)
~=
0
and
tc
:
IsLocation
(
LOCATION_MZONE
)
local
check
=
0
if
not
tc
:
IsLocation
(
LOCATION_MZONE
)
or
(
g
:
FilterCount
(
Card
.
IsAbleToRemoveAsCost
,
nil
)
==
ct
*
4
and
tc
:
GetFlagEffect
(
65010517
)
~=
0
and
tc
:
IsLocation
(
LOCATION_MZONE
))
then
check
=
1
end
return
check
==
1
end
end
function
c65010517
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65010517
.
costop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
tc
:
GetFlagEffect
(
65010517
)
~=
0
and
tc
:
IsLocation
(
LOCATION_MZONE
)
then
Duel
.
Hint
(
HINT_CARD
,
0
,
65010517
)
Duel
.
Hint
(
HINT_CARD
,
0
,
65010517
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
4
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
4
)
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_COST
)
end
end
end
\ No newline at end of file
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