调整四个backfire模式的各种参数
This commit is contained in:
@@ -1,43 +1,43 @@
|
|||||||
local format=string.format
|
|
||||||
return{
|
return{
|
||||||
color=COLOR.lGrey,
|
color=COLOR.magenta,
|
||||||
env={
|
env={
|
||||||
drop=30,lock=60,
|
drop=10,lock=60,
|
||||||
|
freshLimit=15,
|
||||||
dropPiece=function(P)
|
dropPiece=function(P)
|
||||||
if P.lastPiece.atk>0 then
|
if P.lastPiece.atk>0 then
|
||||||
P:receive(nil,P.lastPiece.atk,60,generateLine(P:RND(2,9)))
|
P:receive(nil,P.lastPiece.atk,60,generateLine(P:RND(10)))
|
||||||
if P.stat.atk>=200 then
|
end
|
||||||
P:win("finish")
|
if P.stat.atk>=100 then
|
||||||
end
|
P:win("finish")
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
bg="tunnel",bgm="warped",
|
bg="tunnel",bgm="echo",
|
||||||
},
|
},
|
||||||
pauseLimit=true,
|
pauseLimit=true,
|
||||||
load=function()
|
load=function()
|
||||||
PLY.newPlayer(1)
|
PLY.newPlayer(1)
|
||||||
end,
|
end,
|
||||||
mesDisp=function(P)
|
mesDisp=function(P)
|
||||||
setFont(45)
|
setFont(65)
|
||||||
mStr(format("%.1f",P.stat.atk),69,247)
|
mStr(P.stat.atk,69,310)
|
||||||
mText(drawableText.atk,69,300)
|
mText(drawableText.atk,69,375)
|
||||||
end,
|
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,
|
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]<b[2]end,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local L=P.stat.atk
|
||||||
if L>=200 then
|
if L>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<120 and 5 or
|
T<45 and 5 or
|
||||||
T<150 and 4 or
|
T<60 and 4 or
|
||||||
T<200 and 3 or
|
T<90 and 3 or
|
||||||
2
|
T<120 and 2 or
|
||||||
|
1
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=126 and 1 or
|
L>=50 and 0
|
||||||
L>=30 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
local format=string.format
|
|
||||||
return{
|
return{
|
||||||
color=COLOR.lGrey,
|
color=COLOR.red,
|
||||||
env={
|
env={
|
||||||
drop=30,lock=60,
|
drop=5,lock=45,
|
||||||
|
freshLimit=15,
|
||||||
dropPiece=function(P)
|
dropPiece=function(P)
|
||||||
if P.lastPiece.atk>0 then
|
if P.lastPiece.atk>0 then
|
||||||
P:receive(nil,P.lastPiece.atk,30,generateLine(P:RND(10)))
|
P:receive(nil,P.lastPiece.atk,30,generateLine(P:RND(10)))
|
||||||
if P.stat.atk>=200 then
|
end
|
||||||
P:win("finish")
|
if P.stat.atk>=100 then
|
||||||
end
|
P:win("finish")
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
bg="blackhole",bgm="echo",
|
bg="blackhole",bgm="echo",
|
||||||
@@ -18,26 +18,26 @@ return{
|
|||||||
PLY.newPlayer(1)
|
PLY.newPlayer(1)
|
||||||
end,
|
end,
|
||||||
mesDisp=function(P)
|
mesDisp=function(P)
|
||||||
setFont(45)
|
setFont(65)
|
||||||
mStr(format("%.1f",P.stat.atk),69,247)
|
mStr(P.stat.atk,69,310)
|
||||||
mText(drawableText.atk,69,300)
|
mText(drawableText.atk,69,375)
|
||||||
end,
|
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,
|
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]<b[2]end,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local L=P.stat.atk
|
||||||
if L>=200 then
|
if L>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<120 and 5 or
|
T<50 and 5 or
|
||||||
T<150 and 4 or
|
T<70 and 4 or
|
||||||
T<200 and 3 or
|
T<110 and 3 or
|
||||||
2
|
T<150 and 2 or
|
||||||
|
1
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=126 and 1 or
|
L>=50 and 0
|
||||||
L>=30 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -1,43 +1,42 @@
|
|||||||
local format=string.format
|
|
||||||
return{
|
return{
|
||||||
color=COLOR.lGrey,
|
color=COLOR.green,
|
||||||
env={
|
env={
|
||||||
drop=30,lock=60,
|
drop=30,lock=60,
|
||||||
dropPiece=function(P)
|
dropPiece=function(P)
|
||||||
if P.lastPiece.atk>0 then
|
if P.lastPiece.atk>0 then
|
||||||
P:receive(nil,P.lastPiece.atk,120,generateLine(P:RND(3,8)))
|
P:receive(nil,P.lastPiece.atk,120,generateLine(P:RND(10)))
|
||||||
if P.stat.atk>=200 then
|
end
|
||||||
P:win("finish")
|
if P.stat.atk>=100 then
|
||||||
end
|
P:win("finish")
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
bg="tunnel",bgm="warped",
|
bg="tunnel",bgm="echo",
|
||||||
},
|
},
|
||||||
pauseLimit=true,
|
pauseLimit=true,
|
||||||
load=function()
|
load=function()
|
||||||
PLY.newPlayer(1)
|
PLY.newPlayer(1)
|
||||||
end,
|
end,
|
||||||
mesDisp=function(P)
|
mesDisp=function(P)
|
||||||
setFont(45)
|
setFont(65)
|
||||||
mStr(format("%.1f",P.stat.atk),69,247)
|
mStr(P.stat.atk,69,310)
|
||||||
mText(drawableText.atk,69,300)
|
mText(drawableText.atk,69,375)
|
||||||
end,
|
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,
|
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]<b[2]end,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local L=P.stat.atk
|
||||||
if L>=200 then
|
if L>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<120 and 5 or
|
T<45 and 5 or
|
||||||
T<150 and 4 or
|
T<60 and 4 or
|
||||||
T<200 and 3 or
|
T<90 and 3 or
|
||||||
2
|
T<120 and 2 or
|
||||||
|
1
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=126 and 1 or
|
L>=50 and 0
|
||||||
L>=30 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
local format=string.format
|
|
||||||
return{
|
return{
|
||||||
color=COLOR.lGrey,
|
color=COLOR.lYellow,
|
||||||
env={
|
env={
|
||||||
drop=30,lock=60,
|
drop=2,lock=30,
|
||||||
|
freshLimit=10,
|
||||||
dropPiece=function(P)
|
dropPiece=function(P)
|
||||||
if P.lastPiece.atk>0 then
|
if P.lastPiece.atk>0 then
|
||||||
P:receive(nil,math.floor(P.lastPiece.atk*1.5),0,generateLine(P:RND(10)))
|
P:receive(nil,P.lastPiece.atk,0,generateLine(P:RND(10)))
|
||||||
if P.stat.atk>=200 then
|
end
|
||||||
P:win("finish")
|
if P.stat.atk>=100 then
|
||||||
end
|
P:win("finish")
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
bg="blackhole",bgm="echo",
|
bg="blackhole",bgm="echo",
|
||||||
@@ -18,26 +18,26 @@ return{
|
|||||||
PLY.newPlayer(1)
|
PLY.newPlayer(1)
|
||||||
end,
|
end,
|
||||||
mesDisp=function(P)
|
mesDisp=function(P)
|
||||||
setFont(45)
|
setFont(65)
|
||||||
mStr(format("%.1f",P.stat.atk),69,247)
|
mStr(P.stat.atk,69,310)
|
||||||
mText(drawableText.atk,69,300)
|
mText(drawableText.atk,69,375)
|
||||||
end,
|
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,
|
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]<b[2]end,
|
comp=function(a,b)return a[1]>b[1]or a[1]==b[1]and a[2]<b[2]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local L=P.stat.atk
|
local L=P.stat.atk
|
||||||
if L>=200 then
|
if L>=100 then
|
||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<120 and 5 or
|
T<60 and 5 or
|
||||||
T<150 and 4 or
|
T<80 and 4 or
|
||||||
T<200 and 3 or
|
T<120 and 3 or
|
||||||
2
|
T<180 and 2 or
|
||||||
|
1
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
L>=126 and 1 or
|
L>=50 and 0
|
||||||
L>=30 and 0
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user