vote colors
This commit is contained in:
parent
41599de06f
commit
3e64115f05
@ -30,10 +30,10 @@ public enum BuildQuality
|
||||
public static BuildQuality getFinalQuality(double avgScore)
|
||||
{
|
||||
if (avgScore < 0) return NoVotes;
|
||||
if (avgScore <= 500) return Failure;
|
||||
if (avgScore <= 1000) return Satisfactory;
|
||||
if (avgScore <= 1500) return Good;
|
||||
if (avgScore <= 2500) return Awesome;
|
||||
if (avgScore <= 400) return Failure;
|
||||
if (avgScore <= 800) return Satisfactory;
|
||||
if (avgScore <= 1200) return Good;
|
||||
if (avgScore <= 1600) return Awesome;
|
||||
return Mindblowing;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user