重新启用margin time,但基于帧而不是时间
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
local yield=YIELD
|
||||||
return{
|
return{
|
||||||
color=COLOR.white,
|
color=COLOR.white,
|
||||||
env={
|
env={
|
||||||
@@ -6,6 +7,13 @@ return{
|
|||||||
pushSpeed=5,
|
pushSpeed=5,
|
||||||
garbageSpeed=2,
|
garbageSpeed=2,
|
||||||
allowMod=false,
|
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'},
|
bgm={'battle','cruelty','distortion','far','final','hope','magicblock','new era','push','race','rockblock','secret7th','secret8th','shining terminal','storm','super7th','warped','waterfall'},
|
||||||
},
|
},
|
||||||
load=function()
|
load=function()
|
||||||
|
|||||||
Reference in New Issue
Block a user