linter查出的几个小问题
This commit is contained in:
@@ -85,8 +85,6 @@ local langList={
|
|||||||
unlockSavingError="解锁保存失败:",
|
unlockSavingError="解锁保存失败:",
|
||||||
recSavingError="纪录保存失败:",
|
recSavingError="纪录保存失败:",
|
||||||
|
|
||||||
ai_fixed="不能同时开启AI和固定序列",
|
|
||||||
ai_prebag="不能同时开启AI和自定义序列",
|
|
||||||
switchSpawnSFX="请开启方块出生音效",
|
switchSpawnSFX="请开启方块出生音效",
|
||||||
|
|
||||||
needRestart="重新开始以生效",
|
needRestart="重新开始以生效",
|
||||||
@@ -555,8 +553,6 @@ local langList={
|
|||||||
unlockSavingError="解锁保存失败:",
|
unlockSavingError="解锁保存失败:",
|
||||||
recSavingError="纪录保存失败:",
|
recSavingError="纪录保存失败:",
|
||||||
|
|
||||||
ai_fixed="不能同时开启电脑玩家和固定序列",
|
|
||||||
ai_prebag="不能同时开启电脑玩家和自定义序列",
|
|
||||||
switchSpawnSFX="请开启方块出生音效",
|
switchSpawnSFX="请开启方块出生音效",
|
||||||
|
|
||||||
needRestart="重新开始以生效",
|
needRestart="重新开始以生效",
|
||||||
@@ -1024,8 +1020,6 @@ local langList={
|
|||||||
unlockSavingError="Failed to save unlock:",
|
unlockSavingError="Failed to save unlock:",
|
||||||
recSavingError="Failed to save record:",
|
recSavingError="Failed to save record:",
|
||||||
|
|
||||||
ai_fixed="AI is incompatible with fixed sequence",
|
|
||||||
ai_prebag="AI is incompatible with custom sequence",
|
|
||||||
switchSpawnSFX="Switch on spawn SFX to play",
|
switchSpawnSFX="Switch on spawn SFX to play",
|
||||||
|
|
||||||
needRestart="Effective after restart",
|
needRestart="Effective after restart",
|
||||||
@@ -1938,8 +1932,6 @@ local langList={
|
|||||||
unlockSavingError="解锁保存失败:",
|
unlockSavingError="解锁保存失败:",
|
||||||
recSavingError="纪录保存失败:",
|
recSavingError="纪录保存失败:",
|
||||||
|
|
||||||
ai_fixed="不能同时开启AI和固定序列",
|
|
||||||
ai_prebag="不能同时开启AI和自定义序列",
|
|
||||||
switchSpawnSFX="请开启方块出生音效",
|
switchSpawnSFX="请开启方块出生音效",
|
||||||
|
|
||||||
needRestart="重新开始以生效",
|
needRestart="重新开始以生效",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ return{
|
|||||||
color=color.magenta,
|
color=color.magenta,
|
||||||
env={
|
env={
|
||||||
drop=15,lock=45,
|
drop=15,lock=45,
|
||||||
fall=10,lock=60,
|
fall=10,
|
||||||
center=false,
|
center=false,
|
||||||
visible="none",
|
visible="none",
|
||||||
dropPiece=PLY.reach_winCheck,
|
dropPiece=PLY.reach_winCheck,
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ return{
|
|||||||
freshLimit=10,
|
freshLimit=10,
|
||||||
visible="fast",
|
visible="fast",
|
||||||
dropPiece=PLY.reach_winCheck,
|
dropPiece=PLY.reach_winCheck,
|
||||||
freshLimit=10,
|
|
||||||
target=200,
|
target=200,
|
||||||
bg="glow",bgm="reason",
|
bg="glow",bgm="reason",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ return{
|
|||||||
color=color.green,
|
color=color.green,
|
||||||
env={
|
env={
|
||||||
noFly=true,
|
noFly=true,
|
||||||
minsdarr=1,
|
|
||||||
wait=8,fall=20,
|
wait=8,fall=20,
|
||||||
target=10,dropPiece=check_LVup,
|
target=10,dropPiece=check_LVup,
|
||||||
mindas=7,minarr=1,minsdarr=1,
|
mindas=7,minarr=1,minsdarr=1,
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ elseif setting.lang==5 then
|
|||||||
--[[23]]"大半夜的在这干啥呢?不睡觉是会猝死的",
|
--[[23]]"大半夜的在这干啥呢?不睡觉是会猝死的",
|
||||||
}
|
}
|
||||||
return time[tonumber(os.date("%H"))+1]
|
return time[tonumber(os.date("%H"))+1]
|
||||||
elseif true or R<.1 then
|
elseif R<.1 then
|
||||||
local int=math.floor
|
local int=math.floor
|
||||||
L={
|
L={
|
||||||
"平均"..int(stat.row/stat.time*60).."LPM,那可真强呢",
|
"平均"..int(stat.row/stat.time*60).."LPM,那可真强呢",
|
||||||
|
|||||||
@@ -1942,7 +1942,7 @@ function player.drop(P)--Place piece
|
|||||||
if P.dropSpeed>60 then
|
if P.dropSpeed>60 then
|
||||||
dropScore=dropScore*P.dropSpeed/60
|
dropScore=dropScore*P.dropSpeed/60
|
||||||
elseif P.dropSpeed>120 then
|
elseif P.dropSpeed>120 then
|
||||||
dropScore=dropScore*1,2*P.dropSpeed/120
|
dropScore=dropScore*1.2*P.dropSpeed/120
|
||||||
elseif P.dropSpeed>180 then
|
elseif P.dropSpeed>180 then
|
||||||
dropScore=dropScore*1.5*P.dropSpeed/180
|
dropScore=dropScore*1.5*P.dropSpeed/180
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user