Commit 029d26ea authored by mercury233's avatar mercury233

Revert "update definition"

This reverts commit 6ba8f3b6.
parent 3b21e24c
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment