From 8636c6dcd5aeaf7274efef8157f43e807374b308 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 16 May 2021 14:09:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E5=90=AF=E7=94=A8margin=20ti?= =?UTF-8?q?me=EF=BC=8C=E4=BD=86=E5=9F=BA=E4=BA=8E=E5=B8=A7=E8=80=8C?= =?UTF-8?q?=E4=B8=8D=E6=98=AF=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/modes/netBattle.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/parts/modes/netBattle.lua b/parts/modes/netBattle.lua index 15b25632..c80c2e31 100644 --- a/parts/modes/netBattle.lua +++ b/parts/modes/netBattle.lua @@ -1,3 +1,4 @@ +local yield=YIELD return{ color=COLOR.white, env={ @@ -6,6 +7,13 @@ return{ pushSpeed=5, garbageSpeed=2, allowMod=false, + task=function(P) + local S=P.stat + while true do yield()if S.frame>90*60 then P.strength=1;P:setFrameColor(1)break end end + while true do yield()if S.frame>135*60 then P.strength=2;P:setFrameColor(2)break end end + while true do yield()if S.frame>180*60 then P.strength=3;P:setFrameColor(3)break end end + while true do yield()if S.frame>260*60 then P.strength=4;P:setFrameColor(4)break end end + end, bgm={'battle','cruelty','distortion','far','final','hope','magicblock','new era','push','race','rockblock','secret7th','secret8th','shining terminal','storm','super7th','warped','waterfall'}, }, load=function()