make it harder to obtain 2 stars
This commit is contained in:
parent
e7644bd51f
commit
c81cf51732
|
@ -40,7 +40,7 @@ function getStageRank(s, score) {
|
|||
var max = getStageMaxScore(s);
|
||||
if (typeof score !== 'number') score = score.reduce(function(a, b) { return a + b; }, 0);
|
||||
if (score >= max - Math.max(200, s.levels.length * 50)) return 1;
|
||||
if (score >= max - Math.max(200, s.levels.length * 300)) return 2;
|
||||
if (score >= max - Math.max(200, s.levels.length * 150)) return 2;
|
||||
return 3;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue