6,560
个编辑
小无编辑摘要 |
小无编辑摘要 |
||
第81行: | 第81行: | ||
if args['Beyond等级'] or data('bydRating') then byd=true else byd=false end | if args['Beyond等级'] or data('bydRating') then byd=true else byd=false end | ||
local | local getChartDesigner={ | ||
[1]={ 'mobile' , 'PastNote编写' , 'note编写' , 'pstChartDesigner' }, | |||
[2]={ 'mobile' , 'PresentNote编写' , 'note编写' , 'prsChartDesigner' }, | |||
[3]={ 'mobile' , 'FutureNote 编写' , 'note编写' , 'ftrChartDesigner' }, | |||
[4]={ 'mobile' , 'BeyondNote 编写' , 'note编写' , 'bydChartDesigner' }, | |||
[5]={ 'ns' , 'PastNote 编写' , 'note编写' , 'pstChartDesigner' }, | |||
[6]={ 'ns' , 'PresentNote 编写' , 'note 编写' , 'prsChartDesigner' }, | |||
[7]={ 'ns' , 'FutureNote编写' , 'note 编写' , 'ftrChartDesigner' }, | |||
} | |||
local chartDesigner={} | |||
for i,k in ipairs(getChartDesigner) | |||
do | |||
if args[k[2]] | |||
then | |||
chartDesigner[i]=args[k[2]] | |||
else | else | ||
if args[k[3]] | |||
then | |||
chartDesigner[i]=args[k[3]] | |||
else | |||
if chartDesigner[i-1] | |||
then | |||
chartDesigner[i]=chartDesigner[i-1] | |||
else | |||
if k[1]=='mobile' | |||
then | |||
chartDesigner[i]=data(k[4]) | |||
else | |||
chartDesigner[i]=dataNs(k[4]) | |||
end | |||
end | |||
end | |||
end | end | ||
end | end | ||
local span | local span,spanNs | ||
if byd then | if byd then | ||
span=merge({ | span=merge({ chartDesigner[1],chartDesigner[2],chartDesigner[3],chartDesigner[4] }) | ||
else | else | ||
span=merge({ | span=merge({ chartDesigner[1],chartDesigner[2],chartDesigner[3] }) | ||
end | end | ||
spanNs=merge({ chartDesigner[5],chartDesigner[6],chartDesigner[7] }) | |||
local infoList={ | local infoList={ | ||
第149行: | 第163行: | ||
}, | }, | ||
[13]={ | [13]={ | ||
' | '谱面信息(双模式)','',{ ['id']='all-play-header' , ['class']='header' } | ||
}, | }, | ||
[14]={ | [14]={ | ||
' | '谱面信息(触控)','',{ ['id']='mobile-play-header' , ['class']='header' } | ||
}, | }, | ||
[15]={ | [15]={ | ||
第203行: | 第217行: | ||
}, | }, | ||
[31]={ | [31]={ | ||
chartDesigner[1],data('pstChartDesigner'),{ ['class']='pst-data' },span[1] | |||
}, | }, | ||
[32]={ | [32]={ | ||
chartDesigner[2],data('prsChartDesigner'),{ ['class']='prs-data' },span[2] | |||
}, | }, | ||
[33]={ | [33]={ | ||
chartDesigner[3],data('ftrChartDesigner'),{ ['class']='ftr-data' },span[3] | |||
}, | }, | ||
[34]={ | [34]={ | ||
chartDesigner[4],data('bydChartDesigner'),{ ['class']='byd-data' },span[4] | |||
}, | }, | ||
[35]={ | [35]={ | ||
' | '谱面信息(joy-con)','',{ ['class']='header ns',['id']='ns-play-header' } | ||
}, | }, | ||
[36]={ | [36]={ | ||
第245行: | 第259行: | ||
}, | }, | ||
[45]={ | [45]={ | ||
' 无','',{ ['class']='byd-data ns' } | |||
}, | }, | ||
[46]={ | [46]={ | ||
第266行: | 第280行: | ||
}, | }, | ||
[52]={ | [52]={ | ||
chartDesigner[5],dataNs('pstChartDesigner'),{ ['class']='pst-data ns' },spanNs[1] | |||
}, | }, | ||
[53]={ | [53]={ | ||
chartDesigner[6],dataNs('prsChartDesigner'),{ ['class']='prs-data ns' },spanNs[2] | |||
}, | }, | ||
[54]={ | [54]={ | ||
chartDesigner[7],dataNs('ftrChartDesigner'),{ ['class']='ftr-data ns' },spanNs[3] | |||
}, | }, | ||
[55]={ | [55]={ |