fix
This commit is contained in:
@@ -64,7 +64,7 @@ class AutoScore {
|
|||||||
this.ScoreDiff = 0;
|
this.ScoreDiff = 0;
|
||||||
this.ScoreInit = 0;
|
this.ScoreInit = 0;
|
||||||
var max_init = this.GetMaxPossibleInit(target);
|
var max_init = this.GetMaxPossibleInit(target);
|
||||||
var min_init = 100;
|
var min_init = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
this.ScoreInit = (max_init + min_init) / 2;
|
this.ScoreInit = (max_init + min_init) / 2;
|
||||||
this.ScoreDiff = Math.round(this.ScoreInit / 4);
|
this.ScoreDiff = Math.round(this.ScoreInit / 4);
|
||||||
|
|||||||
Reference in New Issue
Block a user