Module:Songconstant:修订间差异

添加35字节 、​ 2024年4月26日 (星期五)
无编辑摘要
(判空,区别自动读取名称和传入名称)
无编辑摘要
 
第44行: 第44行:
end
end
local diff=tonumber(args['diff'])
local diff=tonumber(args['diff'])
if constantTable[id][diff] then
if constantTable[id] then
return string.format("%.1f",constantTable[id][diff]["constant"])
if constantTable[id][diff] then
return string.format("%.1f",constantTable[id][diff]["constant"])
end
end
end
return ""
return ""
464

个编辑