Skip to content

Commit

Permalink
调教程第七关分数刷新时机
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Oct 1, 2024
1 parent cdbd289 commit 912ebce
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ return {
if clear.line<4 then
if not P.modeData.protect then
P.modeData.protect=true
PROGRESS.setInteriorScore('tuto7_score',P.modeData.score)
P.modeData.display=PROGRESS.getInteriorScore('tuto7_score').."/99"
P.modeData.score=math.max(P.modeData.score-10,0)
P.settings.holdSlot=1
P.modeData.multiplier=1
Expand All @@ -59,13 +61,12 @@ return {
P.modeData.techrashTimer=P.modeData.techrashTimer+260*(s2-s1-1)
end
P.modeData.score=s2
PROGRESS.setInteriorScore('tuto7_score',s2)
if s2>=99 then
PROGRESS.setInteriorScore('tuto7_score',99)
PROGRESS.setInteriorScore('tuto7_time',P.gameTime,'<')
P.modeData.display={COLOR.lY,PROGRESS.getInteriorScore('tuto7_time')/1000}
P:finish('win')
else
P.modeData.display=PROGRESS.getInteriorScore('tuto7_score').."/99"
if s1<62 and s2>=62 then
P.settings.holdSlot=0
P.holdQueue[1]=nil
Expand Down

0 comments on commit 912ebce

Please sign in to comment.