From e0fdab2afc1f40dc3b87abb3a37276041ca0cbc4 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sat, 17 Oct 2020 02:47:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E8=80=81=E7=89=88=E6=9C=AC=E5=AD=98?= =?UTF-8?q?=E6=A1=A3=E6=9B=B4=E5=8F=8B=E5=A5=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main.lua b/main.lua index b11bfc65..b1fd57e1 100644 --- a/main.lua +++ b/main.lua @@ -155,6 +155,7 @@ if fs.getInfo("tech_ultimate+.dat")then fs.remove("tech_ultimate+.dat")end --Update data do local R=modeRanks + R.sprint_10=R.sprint_10 or 0 for k,v in next,R do if type(k)=="number"then R[k]=nil @@ -196,12 +197,17 @@ do end end if S.extraRate then - S.finesseRate=S.extraRate + S.finesseRate=5*(S.piece-S.extraRate) end if fs.getInfo("bigbang.dat")then fs.remove("bigbang.dat")end if S.version~=gameVersion then S.version=gameVersion newVersionLaunch=true + if S.finesseRate<.3*S.piece then + S.finesseRate=10*S.finesseRate + end + FILE.saveData() + FILE.saveSetting() end if system=="Android"and not setting.fullscreen then LOG.print("如果手机上方状态栏不消失,请到设置界面开启全屏",300,color.yellow)