Update - 1.4.0.73

EN: 1.4.0.73
CN: 1.4.0.74
JP: 1.4.0.77
KR: 1.4.0.80
This commit is contained in:
SL1900
2025-12-25 19:00:00 +09:00
parent 5f417fbe9d
commit 35c8d87e86
1183 changed files with 893278 additions and 92778 deletions
+10 -3
View File
@@ -497,9 +497,16 @@ function orderedFormat(formatStr, ...)
local args = {
...
}
return (formatStr:gsub("{(%d+)}", function(index)
index = tonumber(index) + 1
return tostring(args[index])
return (formatStr:gsub("{([^}]+)}", function(placeholder)
local patterns = {".-_(%d+)$", "^(%d+)$"}
for _, pattern in ipairs(patterns) do
local num = placeholder:match(pattern)
if num then
local index = tonumber(num) + 1
return tostring(args[index] or "")
end
end
return "{" .. placeholder .. "}"
end))
end
function clearFloat(a)