Remove flat damage scaling

This commit is contained in:
Joshua Seigler 2019-05-07 14:17:28 -04:00
parent 0f46cb32ac
commit f2f01e7243
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ function percent (rank, unit) {
return Math.round(rank * unit * 10) / 10; return Math.round(rank * unit * 10) / 10;
} }
function flat (rank, level, unit) { function flat (rank, level, unit) {
return Math.floor(rank * unit * (1.09 ** level)); return Math.floor(rank * unit);
} }
/* eslint-disable quotes */ /* eslint-disable quotes */

View file

@ -4,7 +4,7 @@ function percent (rank, unit) {
return Math.round(rank * unit * 10) / 10; return Math.round(rank * unit * 10) / 10;
} }
function flat (rank, level, unit) { function flat (rank, level, unit) {
return Math.floor(rank * unit * (1.09 ** level)); return Math.floor(rank * unit);
} }
/* eslint-disable quotes */ /* eslint-disable quotes */