vote colors

This commit is contained in:
Mini-Chiss 2015-05-09 17:45:08 -05:00
parent 41599de06f
commit 3e64115f05

View File

@ -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;
}