Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
3538d2d3
Commit
3538d2d3
authored
Sep 29, 2018
by
mercury233
Committed by
GitHub
Sep 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
ee6b9f38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
c12766474.lua
c12766474.lua
+5
-2
No files found.
c12766474.lua
View file @
3538d2d3
...
@@ -61,9 +61,12 @@ function c12766474.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -61,9 +61,12 @@ function c12766474.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
while
true
do
while
true
do
local
mg
=
rg
:
Filter
(
c12766474
.
fselect
,
g
,
tp
,
rg
,
g
)
local
mg
=
rg
:
Filter
(
c12766474
.
fselect
,
g
,
tp
,
rg
,
g
)
if
mg
:
GetCount
()
==
0
or
(
c12766474
.
fgoal
(
tp
,
g
)
and
not
Duel
.
SelectYesNo
(
tp
,
210
))
then
break
end
if
#
mg
==
0
then
break
end
local
min
=
1
if
c12766474
.
fgoal
(
tp
,
g
)
then
min
=
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c12766474
.
relfilter
,
1
,
1
,
nil
,
mg
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c12766474
.
relfilter
,
min
,
1
,
nil
,
mg
)
if
#
sg
==
0
then
break
end
g
:
Merge
(
sg
)
g
:
Merge
(
sg
)
end
end
e
:
SetLabel
(
g
:
GetCount
())
e
:
SetLabel
(
g
:
GetCount
())
...
...
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