From d8813288706f1e8b7ed0c3437ee070b25b2d36a5 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sat, 7 Nov 2020 23:15:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=B7=E6=88=98=E6=A8=A1=E5=BC=8F=E6=9C=80?= =?UTF-8?q?=E9=AB=98=E9=9A=BE=E5=BA=A6=E4=B8=8B=E8=90=BD=E9=80=9F=E5=BA=A6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/gametoolfunc.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/parts/gametoolfunc.lua b/parts/gametoolfunc.lua index ad7b7d6c..80350d84 100644 --- a/parts/gametoolfunc.lua +++ b/parts/gametoolfunc.lua @@ -387,14 +387,13 @@ function royaleLevelup() for i=1,#PLAYERS.alive do PLAYERS.alive[i].gameEnv.drop=spd end - if CURMODE.lv==3 then + if CURMODE.name:find("ultimate")then for i=1,#PLAYERS.alive do local P=PLAYERS.alive[i] P.gameEnv.drop=int(P.gameEnv.drop*.3) if P.gameEnv.drop==0 then P.curY=P.imgY - P._20G=true - if P.AI_mode=="CC"then CC.switch20G(P)end + P:set20G() end end end