极简率评级改为灰色
This commit is contained in:
@@ -4,17 +4,6 @@ local sin,log=math.sin,math.log10
|
|||||||
local GAME,SCR=GAME,SCR
|
local GAME,SCR=GAME,SCR
|
||||||
local setFont,mStr=FONT.set,GC.mStr
|
local setFont,mStr=FONT.set,GC.mStr
|
||||||
|
|
||||||
local fnsRankColor={
|
|
||||||
Z=COLOR.lY,
|
|
||||||
S=COLOR.lH,
|
|
||||||
A=COLOR.N,
|
|
||||||
B=COLOR.lG,
|
|
||||||
C=COLOR.M,
|
|
||||||
D=COLOR.dG,
|
|
||||||
E=COLOR.R,
|
|
||||||
F=COLOR.dR,
|
|
||||||
}
|
|
||||||
|
|
||||||
local scene={}
|
local scene={}
|
||||||
|
|
||||||
local page
|
local page
|
||||||
@@ -100,7 +89,7 @@ function scene.sceneInit(org)
|
|||||||
|
|
||||||
if P1.result=='win'and P1.stat.piece>4 then
|
if P1.result=='win'and P1.stat.piece>4 then
|
||||||
local acc=P1.stat.finesseRate*.2/P1.stat.piece
|
local acc=P1.stat.finesseRate*.2/P1.stat.piece
|
||||||
rank=
|
rank=CHAR.icon['rank'..(
|
||||||
acc==1. and"Z"or
|
acc==1. and"Z"or
|
||||||
acc>.97 and"S"or
|
acc>.97 and"S"or
|
||||||
acc>.94 and"A"or
|
acc>.94 and"A"or
|
||||||
@@ -109,6 +98,7 @@ function scene.sceneInit(org)
|
|||||||
acc>.50 and"D"or
|
acc>.50 and"D"or
|
||||||
acc>.30 and"E"or
|
acc>.30 and"E"or
|
||||||
"F"
|
"F"
|
||||||
|
)]
|
||||||
if acc==1 then
|
if acc==1 then
|
||||||
trophy=text.finesse_ap
|
trophy=text.finesse_ap
|
||||||
trophyColor=COLOR.Y
|
trophyColor=COLOR.Y
|
||||||
@@ -272,8 +262,7 @@ function scene.draw()
|
|||||||
--Finesse rank & trophy
|
--Finesse rank & trophy
|
||||||
if rank then
|
if rank then
|
||||||
setFont(40)
|
setFont(40)
|
||||||
local c=fnsRankColor[rank]
|
gc.setColor(.7,.7,.7,timer2)
|
||||||
gc.setColor(c[1],c[2],c[3],timer2)
|
|
||||||
gc.print(rank,405,383)
|
gc.print(rank,405,383)
|
||||||
if trophy then
|
if trophy then
|
||||||
setFont(30)
|
setFont(30)
|
||||||
|
|||||||
Reference in New Issue
Block a user