1,117
个编辑
小 (解除高度依赖) |
小 (修[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, | data = {title, id, ({'PST', 'PRS', 'FTR', 'BYD', 'ETR'})[rc], link = link, CC = sCc}, | ||
sort = {nCc, rc, date} | sort = {nCc, rc, date} | ||
}) | }) |
个编辑