两个pc练习模式添加胜利条件,不再无尽

略微降低pc练习-普通的X评级标准
This commit is contained in:
MrZ626
2021-11-17 15:26:07 +08:00
parent da3ef1c2a6
commit 470e54cdd0
3 changed files with 20 additions and 12 deletions

View File

@@ -22,11 +22,14 @@ local function _check(P)
if #P.field+P.stat.row%4>4 then
P:lose()
end
else
if P.stat.pc>=100 then
P:win('finish')
else
P:newTask(task_PC)
if P.frameRun<180 then P.fieldBeneath=0 end
if P.stat.pc%4==0 and P.stat.pc>0 then
if P.stat.pc%4==0 and P.stat.pc>0 and P.stat.pc<=40 then
local s=P.stat.pc/4
P.gameEnv.drop=pc_drop[s]or 10
P.gameEnv.lock=pc_lock[s]or 25
@@ -36,6 +39,7 @@ local function _check(P)
end
end
end
end
end
return{
mesDisp=function(P)

View File

@@ -25,10 +25,14 @@ local function _check(P)
if #P.field+P.stat.row%4>4 then
P:lose()
end
else
if P.stat.pc>=60 then
P:win('finish')
else
P:newTask(task_PC)
if P.frameRun<180 then P.fieldBeneath=0 end
end
end
end
return{
mesDisp=function(P)

View File

@@ -15,7 +15,7 @@ return{
getRank=function(P)
local L=P.stat.pc
return
L>=62 and 5 or
L>=60 and 5 or
L>=42 and 4 or
L>=26 and 3 or
L>=18 and 2 or