跳到内容

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

个编辑