From a59362b6875e9ed1a4800f1cf8548959cd943150 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sat, 20 Mar 2021 14:34:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbackfire=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E6=88=90=E7=BB=A9=E8=AE=B0=E5=BD=95=E9=94=99=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?ui=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/modes/backfire_h.lua | 12 ++++++------ parts/modes/backfire_l.lua | 6 +++--- parts/modes/backfire_n.lua | 4 ++-- parts/modes/backfire_u.lua | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/parts/modes/backfire_h.lua b/parts/modes/backfire_h.lua index eabb095c..6905f062 100644 --- a/parts/modes/backfire_h.lua +++ b/parts/modes/backfire_h.lua @@ -20,9 +20,9 @@ return{ mesDisp=function(P) setFont(65) mStr(P.stat.atk,69,310) - mText(drawableText.atk,69,375) + mText(drawableText.atk,69,380) end, - score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.atk}end, + score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end, scoreDisp=function(D)return D[1].." Attack "..TIMESTR(D[2])end, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=100 then local T=P.stat.time return - T<45 and 5 or - T<60 and 4 or - T<90 and 3 or - T<120 and 2 or + T<50 and 5 or + T<65 and 4 or + T<100 and 3 or + T<130 and 2 or 1 else return diff --git a/parts/modes/backfire_l.lua b/parts/modes/backfire_l.lua index 1697c6b4..789241f5 100644 --- a/parts/modes/backfire_l.lua +++ b/parts/modes/backfire_l.lua @@ -20,9 +20,9 @@ return{ mesDisp=function(P) setFont(65) mStr(P.stat.atk,69,310) - mText(drawableText.atk,69,375) + mText(drawableText.atk,69,380) end, - score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.atk}end, + score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end, scoreDisp=function(D)return D[1].." Attack "..TIMESTR(D[2])end, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=100 then local T=P.stat.time return - T<50 and 5 or + T<55 and 5 or T<70 and 4 or T<110 and 3 or T<150 and 2 or diff --git a/parts/modes/backfire_n.lua b/parts/modes/backfire_n.lua index e25fd631..359ea924 100644 --- a/parts/modes/backfire_n.lua +++ b/parts/modes/backfire_n.lua @@ -19,9 +19,9 @@ return{ mesDisp=function(P) setFont(65) mStr(P.stat.atk,69,310) - mText(drawableText.atk,69,375) + mText(drawableText.atk,69,380) end, - score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.atk}end, + score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end, scoreDisp=function(D)return D[1].." Attack "..TIMESTR(D[2])end, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]b[1]or a[1]==b[1]and a[2]