1,014
个编辑
Economy666(讨论 | 贡献) 小 (Last | Eternity被意外注释掉了) |
Economy666(讨论 | 贡献) (调整全难度颜色,现在显示最高级谱面对应的颜色) |
||
第289行: | 第289行: | ||
table.insert(nameBYD, bydAppendInfo[songid] and songTitle(bydAppendInfo[songid].id)) | table.insert(nameBYD, bydAppendInfo[songid] and songTitle(bydAppendInfo[songid].id)) | ||
local pack = songPack(songid) or Args[songid .. '.pack'] or '/' | local pack = songPack(songid) or Args[songid .. '.pack'] or '/' | ||
if | if data[1][3]==#data then | ||
local | local times = #data | ||
-- local diffTag = color(diffList[1],'全')..color(diffList[2],'难')..color(diffList[3],'度') | |||
local diffTag = color(data[times][1],'全难度') | |||
local style = '|style="height: 35px"' | local style = '|style="height: 35px"' | ||
return '|-\n'.. style ..'|[['..name..']]||'..pack..'||'.. | return '|-\n'.. style ..'|[['..name..']]||'..pack..'||'..diffTag..'||'..data[1][2]..'\n|'..text..'\n|-\n' | ||
end | end | ||
local row = #data | local row = #data |
个编辑