两个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

@@ -23,16 +23,20 @@ local function _check(P)
P:lose()
end
else
P:newTask(task_PC)
if P.frameRun<180 then P.fieldBeneath=0 end
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
local s=P.stat.pc/4
P.gameEnv.drop=pc_drop[s]or 10
P.gameEnv.lock=pc_lock[s]or 25
P.gameEnv.fall=pc_fall[s]or 4
if s==10 then
P:_showText(text.maxspeed,0,-140,100,'appear',.6)
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
P.gameEnv.fall=pc_fall[s]or 4
if s==10 then
P:_showText(text.maxspeed,0,-140,100,'appear',.6)
end
end
end
end

View File

@@ -26,8 +26,12 @@ local function _check(P)
P:lose()
end
else
P:newTask(task_PC)
if P.frameRun<180 then P.fieldBeneath=0 end
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{

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