两个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 if #P.field+P.stat.row%4>4 then
P:lose() P:lose()
end end
else
if P.stat.pc>=100 then
P:win('finish')
else else
P:newTask(task_PC) P:newTask(task_PC)
if P.frameRun<180 then P.fieldBeneath=0 end 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 local s=P.stat.pc/4
P.gameEnv.drop=pc_drop[s]or 10 P.gameEnv.drop=pc_drop[s]or 10
P.gameEnv.lock=pc_lock[s]or 25 P.gameEnv.lock=pc_lock[s]or 25
@@ -37,6 +40,7 @@ local function _check(P)
end end
end end
end end
end
return{ return{
mesDisp=function(P) mesDisp=function(P)
setFont(60) setFont(60)

View File

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

View File

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