「Module:Arcaea Data」:修訂間差異

增加 888 位元組 、​ 2024年1月25日 (星期四)
非FTR难度的ratingPlus处理
(已将“Module:Arcaea Data”移除保护:​更改需要)
(非FTR难度的ratingPlus处理)
行 111: 行 111:
        end,
        end,
        ["pstRating"] = function()
        ["pstRating"] = function()
       if info["difficulties"] then
         if info["difficulties"][1]['ratingPlus'] then
         return info["difficulties"][1]['rating']
           return info["difficulties"][1]['rating'] .. '+'
         else
           return info["difficulties"][1]['rating']
          end
          end
        end,
        end,
行 126: 行 128:
        end,
        end,
        ["prsRating"] = function()
        ["prsRating"] = function()
       if info["difficulties"] then
         if info["difficulties"][2]['ratingPlus'] then
         return info["difficulties"][2]['rating']
           return info["difficulties"][2]['rating'] .. '+'
         else
           return info["difficulties"][2]['rating']
          end
          end
        end,
        end,
行 161: 行 165:
        ["bydRating"] = function()
        ["bydRating"] = function()
          if info["difficulties"] and info["difficulties"][4] then
          if info["difficulties"] and info["difficulties"][4] then
           return info["difficulties"][4]['rating']
         if info["difficulties"][4]['ratingPlus'] then
           return info["difficulties"][4]['rating'] .. '+'
         else
           return info["difficulties"][4]['rating']
         end
          end
          end
        end,
        end,
行 293: 行 301:
        end,
        end,
        ["pstRating"] = function()
        ["pstRating"] = function()
          return info[index]["difficulties"][1]['rating']
          if info[index]["difficulties"][1]['ratingPlus'] then
           return info[index]["difficulties"][1]['rating'] .. '+'
         else
           return info[index]["difficulties"][1]['rating']
         end
        end,
        end,
        ["prsChartDesigner"] = function()
        ["prsChartDesigner"] = function()
行 302: 行 314:
        end,
        end,
        ["prsRating"] = function()
        ["prsRating"] = function()
          return info[index]["difficulties"][2]['rating']
          if info[index]["difficulties"][2]['ratingPlus'] then
           return info[index]["difficulties"][2]['rating'] .. '+'
         else
           return info[index]["difficulties"][2]['rating']
         end
        end,
        end,
        ["ftrChartDesigner"] = function()
        ["ftrChartDesigner"] = function()
行 328: 行 344:
        end,
        end,
        ["bydRating"] = function()
        ["bydRating"] = function()
          if info[index]["difficulties"][4] then
          if info[index]["difficulties"][4]['ratingPlus'] then
           return info[index]["difficulties"][4]['rating'] .. '+'
         else
            return info[index]["difficulties"][4]['rating']
            return info[index]["difficulties"][4]['rating']
          end
          end
1,554

次編輯