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
b37a77aa
Commit
b37a77aa
authored
Jun 20, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iidx goooooooooooooooold
parent
0d529d42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
expansions/script/c65072026.lua
expansions/script/c65072026.lua
+1
-1
No files found.
expansions/script/c65072026.lua
View file @
b37a77aa
...
@@ -31,7 +31,7 @@ function c65072026.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -31,7 +31,7 @@ function c65072026.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
gn
=
g
:
GetCount
()
local
gn
=
g
:
GetCount
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65072026
.
costfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
e
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65072026
.
costfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
e
)
end
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
65072026
,
0
))
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
65072026
,
0
))
local
num
=
Duel
.
GetMatchingGroup
(
c65072026
.
tgfil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
e
)
local
num
=
Duel
.
GetMatchingGroup
Count
(
c65072026
.
tgfil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
e
)
if
gn
>
num
then
gn
=
num
end
if
gn
>
num
then
gn
=
num
end
local
tgg
=
Duel
.
SelectMatchingCard
(
tp
,
c65072026
.
costfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
gn
,
nil
)
local
tgg
=
Duel
.
SelectMatchingCard
(
tp
,
c65072026
.
costfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
gn
,
nil
)
Duel
.
SendtoGrave
(
tgg
,
REASON_COST
)
Duel
.
SendtoGrave
(
tgg
,
REASON_COST
)
...
...
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