This commit is contained in:
purerosefallen 2019-11-02 09:53:05 +08:00
parent 88fc5dbbb6
commit cd7015f582
No known key found for this signature in database
GPG Key ID: E6D78C90943A3185

View File

@ -64,7 +64,7 @@ class AutoScore {
this.ScoreDiff = 0;
this.ScoreInit = 0;
var max_init = this.GetMaxPossibleInit(target);
var min_init = 100;
var min_init = 0;
while (true) {
this.ScoreInit = (max_init + min_init) / 2;
this.ScoreDiff = Math.round(this.ScoreInit / 4);