From f4c66329410ea509906492e1528bdd3ffe53a318 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 4 Nov 2021 21:53:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=8D=E4=BD=8E=E6=97=A0=E6=97=8B=E8=BD=AC40?= =?UTF-8?q?L=E8=AF=84=E7=BA=A7=E6=A0=87=E5=87=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/modes/sprintLock.lua | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/parts/modes/sprintLock.lua b/parts/modes/sprintLock.lua index 2dd39fc6..554c11c7 100644 --- a/parts/modes/sprintLock.lua +++ b/parts/modes/sprintLock.lua @@ -8,16 +8,12 @@ return{ }, getRank=function(P) local L=P.stat.row - if L<40 then - return - L>25 and 2 or - L>10 and 1 or - L>2 and 0 - end - local T=P.stat.time return - T<=60 and 5 or - T<=100 and 4 or - 3 + L>=40 and 5 or + L>=32 and 4 or + L>=24 and 3 or + L>=16 and 2 or + L>=10 and 1 or + L>=5 and 0 end, }