修改单挑l和u难度的评级条件为剩余命数
This commit is contained in:
@@ -16,13 +16,12 @@ return{
|
|||||||
comp=function(a,b)return a[1]<b[1]end,
|
comp=function(a,b)return a[1]<b[1]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
if P.result=='win'then
|
if P.result=='win'then
|
||||||
local T=P.stat.time
|
local L=P.life
|
||||||
return
|
return
|
||||||
T<=60 and 5 or
|
L>=2 and 5 or
|
||||||
T<=90 and 4 or
|
L>=1 and 4 or
|
||||||
T<=130 and 3 or
|
L>=0 and 3 or
|
||||||
T<=200 and 2 or
|
2
|
||||||
1
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,13 +16,13 @@ return{
|
|||||||
comp=function(a,b)return a[1]<b[1]end,
|
comp=function(a,b)return a[1]<b[1]end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
if P.result=='win'then
|
if P.result=='win'then
|
||||||
local T=P.stat.time
|
local L=P.life
|
||||||
return
|
return
|
||||||
T<=80 and 5 or
|
L>=2 and 5 or
|
||||||
T<=110 and 4 or
|
L>=1 and 4 or
|
||||||
T<=150 and 3 or
|
L>=0 and 3 or
|
||||||
T<=240 and 2 or
|
2
|
||||||
1
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user