Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
5
Merge Requests
5
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
MyCard
ygopro-scripts-888
Commits
029d26ea
Commit
029d26ea
authored
May 18, 2024
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "update definition"
This reverts commit
6ba8f3b6
.
parent
3b21e24c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
utility.lua
utility.lua
+3
-3
No files found.
utility.lua
View file @
029d26ea
...
@@ -147,7 +147,7 @@ end
...
@@ -147,7 +147,7 @@ end
---Return value starts from 1, different from Duel.SelectOption
---Return value starts from 1, different from Duel.SelectOption
---@param tp integer
---@param tp integer
---@param ... table {condition, option[, value]}
---@param ... table {condition, option[, value]}
---@return integer
|nil
---@return integer
function
Auxiliary
.
SelectFromOptions
(
tp
,
...
)
function
Auxiliary
.
SelectFromOptions
(
tp
,
...
)
local
options
=
{
...
}
local
options
=
{
...
}
local
ops
=
{}
local
ops
=
{}
...
@@ -1105,7 +1105,7 @@ end
...
@@ -1105,7 +1105,7 @@ end
---@param min? integer
---@param min? integer
---@param max? integer
---@param max? integer
---@param ... any
---@param ... any
---@return Group
|nil
---@return Group
function
Group
.
SelectSubGroup
(
g
,
tp
,
f
,
cancelable
,
min
,
max
,
...
)
function
Group
.
SelectSubGroup
(
g
,
tp
,
f
,
cancelable
,
min
,
max
,
...
)
Auxiliary
.
SubGroupCaptured
=
Group
.
CreateGroup
()
Auxiliary
.
SubGroupCaptured
=
Group
.
CreateGroup
()
min
=
min
or
1
min
=
min
or
1
...
@@ -1203,7 +1203,7 @@ end
...
@@ -1203,7 +1203,7 @@ end
---@param cancelable? boolean
---@param cancelable? boolean
---@param f? function
---@param f? function
---@param ... any
---@param ... any
---@return Group
|nil
---@return Group
function
Group
.
SelectSubGroupEach
(
g
,
tp
,
checks
,
cancelable
,
f
,
...
)
function
Group
.
SelectSubGroupEach
(
g
,
tp
,
checks
,
cancelable
,
f
,
...
)
if
cancelable
==
nil
then
cancelable
=
false
end
if
cancelable
==
nil
then
cancelable
=
false
end
if
f
==
nil
then
f
=
Auxiliary
.
TRUE
end
if
f
==
nil
then
f
=
Auxiliary
.
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