6,571
次編輯
(// Edit via Wikiplus) |
小無編輯摘要 |
||
行 127: | 行 127: | ||
end, | end, | ||
["bydChartDesigner"] = function() | ["bydChartDesigner"] = function() | ||
if info["difficulties"][4] then | if info["difficulties"] and info["difficulties"][4] then | ||
return info["difficulties"][4]['chartDesigner'] | return info["difficulties"][4]['chartDesigner'] | ||
end | end | ||
end, | end, | ||
["bydJacketDesigner"] = function() | ["bydJacketDesigner"] = function() | ||
if info["difficulties"][4] then | if info["difficulties"] and info["difficulties"][4] then | ||
return info["difficulties"][4]['jacketDesigner'] | return info["difficulties"][4]['jacketDesigner'] | ||
end | end | ||
end, | end, | ||
["bydRating"] = function() | ["bydRating"] = function() | ||
if info["difficulties"][4] then | if info["difficulties"] and info["difficulties"][4] then | ||
return info["difficulties"][4]['rating'] | return info["difficulties"][4]['rating'] | ||
end | end | ||
end, | end, | ||
["pstChange"] = function() | ["pstChange"] = function() | ||
if info["difficulties"][1] then | if info["difficulties"] and info["difficulties"][1] then | ||
return info["difficulties"][1]['has_controller_alt_chart'] | return info["difficulties"][1]['has_controller_alt_chart'] | ||
end | end | ||
end, | end, | ||
["prsChange"] = function() | ["prsChange"] = function() | ||
if info["difficulties"][2] then | if info["difficulties"] and info["difficulties"][2] then | ||
return info["difficulties"][2]['has_controller_alt_chart'] | return info["difficulties"][2]['has_controller_alt_chart'] | ||
end | end | ||
end, | end, | ||
["ftrChange"] = function() | ["ftrChange"] = function() | ||
if info["difficulties"][3] then | if info["difficulties"] and info["difficulties"][3] then | ||
return info["difficulties"][3]['has_controller_alt_chart'] | return info["difficulties"][3]['has_controller_alt_chart'] | ||
end | end | ||
end, | end, | ||
["bydAudioChange"] = function() | ["bydAudioChange"] = function() | ||
if info["difficulties"][4] then | if info["difficulties"] and info["difficulties"][4] then | ||
return info["difficulties"][4]['audioOverride'] | return info["difficulties"][4]['audioOverride'] | ||
end | end | ||
end, | end, | ||
["bydBg"] = function() | ["bydBg"] = function() | ||
if info["difficulties"][4] then | if info["difficulties"] and info["difficulties"][4] then | ||
return info["difficulties"][4]['bg'] | return info["difficulties"][4]['bg'] | ||
end | end | ||
end, | end, | ||
["bydBPM"] = function() | ["bydBPM"] = function() | ||
if info["difficulties"][4] then | if info["difficulties"] and info["difficulties"][4] then | ||
return info["difficulties"][4]['bpm'] | return info["difficulties"][4]['bpm'] | ||
end | end | ||
end, | end, | ||
["bydArtist"] = function() | ["bydArtist"] = function() | ||
if info["difficulties"][4] then | if info["difficulties"] and info["difficulties"][4] then | ||
return info["difficulties"][4]['artist'] | return info["difficulties"][4]['artist'] | ||
end | end |