查看“模块:Standings”的源代码
因为以下原因,您没有权限编辑本页:
您可以查看与复制此页面的源代码。
local p = {} --p stands for package
local mode_col = 1
local level_col = 2
local score_col = 3
local name_col = 4
local video_col = 5
local date_col = 6
-- compare score, including HS and SR
function score_less(a, b)
if string.find(a, ':') and string.find(b, ':') then
return a > b
elseif not string.find(a, ':') and not string.find(b, ':') then
return a < b
end
end
-- sort by mode, level, score and date
function standing_less(a, b)
if a[mode_col] ~= b[mode_col] then
000
1:0
该页面使用的模板:
返回至模块:Standings。