跳至內容

「Module:ChartConstant」:修訂間差異

增加 3 位元組 、​ 2022年8月27日 (星期六)
無編輯摘要
無編輯摘要
無編輯摘要
第17行: 第17行:
if diffInf["ratingClass"] ~= 0 and diffInf["ratingClass"] ~= 1
if diffInf["ratingClass"] ~= 0 and diffInf["ratingClass"] ~= 1
then
then
if diffInf["ratingReal"] == 2 then ratingClass = "难度III" else ratingClass = "难度IV" end
if diffInf["ratingClass"] == 2 then ratingClass = "难度III" else ratingClass = "难度IV" end
table.insert(songlistE,{
table.insert(songlistE,{
songInf["id"],
songInf["id"],
第36行: 第36行:
for _,diffInf in ipairs(songInf["difficulties"])
for _,diffInf in ipairs(songInf["difficulties"])
do
do
if diffInf["ratingClass"] ~= 0 or diffInf["ratingClass"] ~= 1
if diffInf["ratingClass"] ~= 0 and diffInf["ratingClass"] ~= 1
then
then
if diffInf["ratingReal"] == 2 then ratingClass = "难度III" else ratingClass = "难度IV" end
if diffInf["ratingClass"] == 2 then ratingClass = "难度III" else ratingClass = "难度IV" end
table.insert(songlistE,{
table.insert(songlistE,{
songInf["id"],
songInf["id"],