Commit 9793e51a authored by nanahira's avatar nanahira

use max possible score directly

parent 51c0eefb
......@@ -70,6 +70,11 @@ class AutoScore {
this.ScoreInit = 0;
var max_init = this.GetMaxPossibleInit(target);
var min_init = 0;
if (this.scoremode === 3) {
this.ScoreDiff = 0;
this.ScoreInit = max_init;
return;
}
while (true) {
this.ScoreInit = (max_init + min_init) / 2;
this.ScoreDiff = Math.round(this.ScoreInit / 4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment