diff --git a/parts/modes/backfire_h.lua b/parts/modes/backfire_h.lua index e3456700..eabb095c 100644 --- a/parts/modes/backfire_h.lua +++ b/parts/modes/backfire_h.lua @@ -1,43 +1,43 @@ -local format=string.format return{ - color=COLOR.lGrey, + color=COLOR.magenta, env={ - drop=30,lock=60, + drop=10,lock=60, + freshLimit=15, dropPiece=function(P) if P.lastPiece.atk>0 then - P:receive(nil,P.lastPiece.atk,60,generateLine(P:RND(2,9))) - if P.stat.atk>=200 then - P:win("finish") - end + P:receive(nil,P.lastPiece.atk,60,generateLine(P:RND(10))) + end + if P.stat.atk>=100 then + P:win("finish") end end, - bg="tunnel",bgm="warped", + bg="tunnel",bgm="echo", }, pauseLimit=true, load=function() PLY.newPlayer(1) end, mesDisp=function(P) - setFont(45) - mStr(format("%.1f",P.stat.atk),69,247) - mText(drawableText.atk,69,300) + setFont(65) + mStr(P.stat.atk,69,310) + mText(drawableText.atk,69,375) end, - score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end, + score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.atk}end, scoreDisp=function(D)return D[1].." Attack "..TIMESTR(D[2])end, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + if L>=100 then local T=P.stat.time return - T<120 and 5 or - T<150 and 4 or - T<200 and 3 or - 2 + T<45 and 5 or + T<60 and 4 or + T<90 and 3 or + T<120 and 2 or + 1 else return - L>=126 and 1 or - L>=30 and 0 + L>=50 and 0 end end, } \ No newline at end of file diff --git a/parts/modes/backfire_l.lua b/parts/modes/backfire_l.lua index 1d1f406d..1697c6b4 100644 --- a/parts/modes/backfire_l.lua +++ b/parts/modes/backfire_l.lua @@ -1,14 +1,14 @@ -local format=string.format return{ - color=COLOR.lGrey, + color=COLOR.red, env={ - drop=30,lock=60, + drop=5,lock=45, + freshLimit=15, dropPiece=function(P) if P.lastPiece.atk>0 then P:receive(nil,P.lastPiece.atk,30,generateLine(P:RND(10))) - if P.stat.atk>=200 then - P:win("finish") - end + end + if P.stat.atk>=100 then + P:win("finish") end end, bg="blackhole",bgm="echo", @@ -18,26 +18,26 @@ return{ PLY.newPlayer(1) end, mesDisp=function(P) - setFont(45) - mStr(format("%.1f",P.stat.atk),69,247) - mText(drawableText.atk,69,300) + setFont(65) + mStr(P.stat.atk,69,310) + mText(drawableText.atk,69,375) end, - score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end, + score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.atk}end, scoreDisp=function(D)return D[1].." Attack "..TIMESTR(D[2])end, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + if L>=100 then local T=P.stat.time return - T<120 and 5 or - T<150 and 4 or - T<200 and 3 or - 2 + T<50 and 5 or + T<70 and 4 or + T<110 and 3 or + T<150 and 2 or + 1 else return - L>=126 and 1 or - L>=30 and 0 + L>=50 and 0 end end, } \ No newline at end of file diff --git a/parts/modes/backfire_n.lua b/parts/modes/backfire_n.lua index 83393380..e25fd631 100644 --- a/parts/modes/backfire_n.lua +++ b/parts/modes/backfire_n.lua @@ -1,43 +1,42 @@ -local format=string.format return{ - color=COLOR.lGrey, + color=COLOR.green, env={ drop=30,lock=60, dropPiece=function(P) if P.lastPiece.atk>0 then - P:receive(nil,P.lastPiece.atk,120,generateLine(P:RND(3,8))) - if P.stat.atk>=200 then - P:win("finish") - end + P:receive(nil,P.lastPiece.atk,120,generateLine(P:RND(10))) + end + if P.stat.atk>=100 then + P:win("finish") end end, - bg="tunnel",bgm="warped", + bg="tunnel",bgm="echo", }, pauseLimit=true, load=function() PLY.newPlayer(1) end, mesDisp=function(P) - setFont(45) - mStr(format("%.1f",P.stat.atk),69,247) - mText(drawableText.atk,69,300) + setFont(65) + mStr(P.stat.atk,69,310) + mText(drawableText.atk,69,375) end, - score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end, + score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.atk}end, scoreDisp=function(D)return D[1].." Attack "..TIMESTR(D[2])end, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + if L>=100 then local T=P.stat.time return - T<120 and 5 or - T<150 and 4 or - T<200 and 3 or - 2 + T<45 and 5 or + T<60 and 4 or + T<90 and 3 or + T<120 and 2 or + 1 else return - L>=126 and 1 or - L>=30 and 0 + L>=50 and 0 end end, } \ No newline at end of file diff --git a/parts/modes/backfire_u.lua b/parts/modes/backfire_u.lua index 7788fdba..8eb63711 100644 --- a/parts/modes/backfire_u.lua +++ b/parts/modes/backfire_u.lua @@ -1,14 +1,14 @@ -local format=string.format return{ - color=COLOR.lGrey, + color=COLOR.lYellow, env={ - drop=30,lock=60, + drop=2,lock=30, + freshLimit=10, dropPiece=function(P) if P.lastPiece.atk>0 then - P:receive(nil,math.floor(P.lastPiece.atk*1.5),0,generateLine(P:RND(10))) - if P.stat.atk>=200 then - P:win("finish") - end + P:receive(nil,P.lastPiece.atk,0,generateLine(P:RND(10))) + end + if P.stat.atk>=100 then + P:win("finish") end end, bg="blackhole",bgm="echo", @@ -18,26 +18,26 @@ return{ PLY.newPlayer(1) end, mesDisp=function(P) - setFont(45) - mStr(format("%.1f",P.stat.atk),69,247) - mText(drawableText.atk,69,300) + setFont(65) + mStr(P.stat.atk,69,310) + mText(drawableText.atk,69,375) end, - score=function(P)return{P.stat.atk<=200 and math.floor(P.stat.atk)or 200,P.stat.time}end, + score=function(P)return{P.stat.atk<=100 and math.floor(P.stat.atk)or 100,P.stat.atk}end, scoreDisp=function(D)return D[1].." Attack "..TIMESTR(D[2])end, comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]=200 then + if L>=100 then local T=P.stat.time return - T<120 and 5 or - T<150 and 4 or - T<200 and 3 or - 2 + T<60 and 5 or + T<80 and 4 or + T<120 and 3 or + T<180 and 2 or + 1 else return - L>=126 and 1 or - L>=30 and 0 + L>=50 and 0 end end, } \ No newline at end of file