跳转到内容

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"],