整理代码,略微优化性能,调整玩家攻击力和框颜色相关代码,联网对战每分钟会增加攻击力

This commit is contained in:
MrZ626
2021-05-10 14:40:55 +08:00
parent dd682a4e6a
commit ee4ca51aff
14 changed files with 97 additions and 92 deletions

View File

@@ -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.time>60 then P.strength=1 break end end
while true do yield()if S.time>120 then P.strength=2 break end end
while true do yield()if S.time>180 then P.strength=3 break end end
while true do yield()if S.time>240 then P.strength=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()