跳到内容

Module:Data:修订间差异

删除2,119字节 、​ 2024年8月12日 (星期一)
撤销两个编辑
(添加全bg读取支持)
标签已被回退
(撤销两个编辑)
标签手工回退
 
第185行: 第185行:
          if info["difficulties"][4] then
          if info["difficulties"][4] then
            return info["difficulties"][4]['audioOverride']
            return info["difficulties"][4]['audioOverride']
         end
       end,
       ["bydBg"] = function()
         if info["difficulties"][4] then
           return info["difficulties"][4]['bg']
          end
          end
        end,
        end,
第195行: 第200行:
          if info["difficulties"][4] then
          if info["difficulties"][4] then
            return info["difficulties"][4]['artist']
            return info["difficulties"][4]['artist']
         end
       end,
       ["pstBg"] = function()
         if info["difficulties"][1] and info["difficulties"][1]['bg'] then
           return info["difficulties"][1]['bg']
         else
           if info["bg"] ~= "" then
             return info["bg"]
           else
             if info["side"] == 0 then
               return 'base_light'
             else
               return 'base_conflict'
             end
           end
         end
       end,
       ["prsBg"] = function()
         if info["difficulties"][2] and info["difficulties"][2]['bg'] then
           return info["difficulties"][2]['bg']
         else
           if info["bg"] ~= "" then
             return info["bg"]
           else
             if info["side"] == 0 then
               return 'base_light'
             else
               return 'base_conflict'
             end
           end
         end
       end,
       ["ftrBg"] = function()
         if info["difficulties"][3] and info["difficulties"][3]['bg'] then
           return info["difficulties"][3]['bg']
         else
           if info["bg"] ~= "" then
             return info["bg"]
           else
             if info["side"] == 0 then
               return 'base_light'
             else
               return 'base_conflict'
             end
           end
         end
       end,
       ["bydBg"] = function()
         if info["difficulties"][4] and info["difficulties"][4]['bg'] then
           return info["difficulties"][4]['bg']
         else
           if info["bg"] ~= "" then
             return info["bg"]
           else
             if info["side"] == 0 then
               return 'base_light'
             else
               return 'base_conflict'
             end
           end
          end
          end
        end
        end