change scorer for fast priority
This commit is contained in:
@@ -112,6 +112,9 @@ public class Scorer {
|
|||||||
if (lands > 0 && profile.getLandMult() > 0){
|
if (lands > 0 && profile.getLandMult() > 0){
|
||||||
score = profit / (lands * profile.getLandMult());
|
score = profit / (lands * profile.getLandMult());
|
||||||
}
|
}
|
||||||
|
if (profile.getPathPriority() == Profile.PATH_PRIORITY.ECO){
|
||||||
|
jumps = 1;
|
||||||
|
}
|
||||||
score -= profile.getJumpMult()/profile.getJumps() * score * jumps;
|
score -= profile.getJumpMult()/profile.getJumps() * score * jumps;
|
||||||
}
|
}
|
||||||
LOG.trace("score={}", score);
|
LOG.trace("score={}", score);
|
||||||
|
|||||||
Reference in New Issue
Block a user