Module:ChartConstant:修订间差异

(细节)
(微调)
第47行: 第47行:
rowId = ('%.1f'):format(cc)
rowId = ('%.1f'):format(cc)
end
end
local rowData = datas[rowId] or {attr = rowAttr}
local rowData = datas[rowId]
datas[rowId] = rowData
if not rowData then
rowData = {attr = rowAttr}
datas[rowId] = rowData
end
table.insert(rowData, {
table.insert(rowData, {
data = {title, song.id, ({'PST', 'PRS', 'FTR', 'BYD'})[diffIdx], link = link, CC = diasplayCC},
data = {title, song.id, ({'PST', 'PRS', 'FTR', 'BYD'})[diffIdx], link = link, CC = diasplayCC},
第89行: 第92行:
local query = mad.songQueryWrap(song)
local query = mad.songQueryWrap(song)
local data = {query.linkTitle}
local data = {query.linkTitle}
local rowData = {data = data, sort = {(songCD[query.bydDate and 3 or 4] or songCD[3]).constant * 10, song.date}}
local rowData = {data = data, sort = {(songCD[query.bydDate and 3 or 4] or songCD[3]).constant, song.date}}
table.insert(datas, rowData)
table.insert(datas, rowData)
for i = 1, 4 do
for i = 1, 4 do