linter查出的几个小问题

This commit is contained in:
MrZ_26
2020-08-12 18:43:42 +08:00
parent d46d111900
commit c78630a31e
6 changed files with 3 additions and 13 deletions

View File

@@ -223,7 +223,7 @@ elseif setting.lang==5 then
--[[23]]"大半夜的在这干啥呢?不睡觉是会猝死的",
}
return time[tonumber(os.date("%H"))+1]
elseif true or R<.1 then
elseif R<.1 then
local int=math.floor
L={
"平均"..int(stat.row/stat.time*60).."LPM,那可真强呢",

View File

@@ -1942,7 +1942,7 @@ function player.drop(P)--Place piece
if P.dropSpeed>60 then
dropScore=dropScore*P.dropSpeed/60
elseif P.dropSpeed>120 then
dropScore=dropScore*1,2*P.dropSpeed/120
dropScore=dropScore*1.2*P.dropSpeed/120
elseif P.dropSpeed>180 then
dropScore=dropScore*1.5*P.dropSpeed/180
end