Module:ChartConstant:修订间差异

添加28字节 、​ 2024年3月15日 (星期五)
修[anti]bug
(解除高度依赖)
(修[anti]bug)
 
第18行: 第18行:
local id, titleBase, dateBase = song.id, mad.title(song), song.date
local id, titleBase, dateBase = song.id, mad.title(song), song.date
local songCc = songCcs[id] or {}
local songCc = songCcs[id] or {}
local link = mad.linkName(song) or titleBase
for _, chart in ipairs {}, song.difficulties, 1 do
for _, chart in ipairs {}, song.difficulties, 1 do
local rc = chart.ratingClass + 1
local rc = chart.ratingClass + 1
第41行: 第42行:
end
end
table.insert(rowData, {
table.insert(rowData, {
data = {title, song.id, ({'PST', 'PRS', 'FTR', 'BYD', 'ETR'})[rc], link = mad.linkName(song), CC = sCc},
data = {title, id, ({'PST', 'PRS', 'FTR', 'BYD', 'ETR'})[rc], link = link, CC = sCc},
sort = {nCc, rc, date}
sort = {nCc, rc, date}
})
})
1,117

个编辑