Fix incorrect score order in Dig Efficiency modes
This commit is contained in:
@@ -4,8 +4,8 @@ return{
|
|||||||
eventSet='dig_100l',
|
eventSet='dig_100l',
|
||||||
bg='bg2',bgm='way',
|
bg='bg2',bgm='way',
|
||||||
},
|
},
|
||||||
score=function(P)return{P.stat.time,P.stat.piece}end,
|
score=function(P)return{P.stat.piece,P.stat.time}end,
|
||||||
scoreDisp=function(D)return STRING.time(D[1]).." "..D[2].." Pieces"end,
|
scoreDisp=function(D)return D[1].." Pieces "..STRING.time(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)
|
||||||
if P.stat.dig<100 then return end
|
if P.stat.dig<100 then return end
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ return{
|
|||||||
eventSet='dig_10l',
|
eventSet='dig_10l',
|
||||||
bg='bg1',bgm='way',
|
bg='bg1',bgm='way',
|
||||||
},
|
},
|
||||||
score=function(P)return{P.stat.time,P.stat.piece}end,
|
score=function(P)return{P.stat.piece,P.stat.time}end,
|
||||||
scoreDisp=function(D)return STRING.time(D[1]).." "..D[2].." Pieces"end,
|
scoreDisp=function(D)return D[1].." Pieces "..STRING.time(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)
|
||||||
if P.stat.dig<10 then return end
|
if P.stat.dig<10 then return end
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ return{
|
|||||||
eventSet='dig_400l',
|
eventSet='dig_400l',
|
||||||
bg='bg2',bgm='way',
|
bg='bg2',bgm='way',
|
||||||
},
|
},
|
||||||
score=function(P)return{P.stat.time,P.stat.piece}end,
|
score=function(P)return{P.stat.piece,P.stat.time}end,
|
||||||
scoreDisp=function(D)return STRING.time(D[1]).." "..D[2].." Pieces"end,
|
scoreDisp=function(D)return D[1].." Pieces "..STRING.time(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)
|
||||||
if P.stat.dig<400 then return end
|
if P.stat.dig<400 then return end
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ return{
|
|||||||
eventSet='dig_40l',
|
eventSet='dig_40l',
|
||||||
bg='bg1',bgm='way',
|
bg='bg1',bgm='way',
|
||||||
},
|
},
|
||||||
score=function(P)return{P.stat.time,P.stat.piece}end,
|
score=function(P)return{P.stat.piece,P.stat.time}end,
|
||||||
scoreDisp=function(D)return STRING.time(D[1]).." "..D[2].." Pieces"end,
|
scoreDisp=function(D)return D[1].." Pieces "..STRING.time(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)
|
||||||
if P.stat.dig<40 then return end
|
if P.stat.dig<40 then return end
|
||||||
|
|||||||
Reference in New Issue
Block a user