prettify, sorry for the big ass commit

This commit is contained in:
Olivier Gagnon
2021-09-04 19:09:30 -04:00
parent 3d7cdb4ef9
commit a18bdd6afc
554 changed files with 91615 additions and 66138 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
export function calculateSkill(exp: number, mult = 1): number {
return Math.max(Math.floor(mult*(32 * Math.log(exp + 534.5) - 200)), 1);
return Math.max(Math.floor(mult * (32 * Math.log(exp + 534.5) - 200)), 1);
}
export function calculateExp(skill: number, mult = 1): number {
return Math.exp((skill / mult + 200) / 32) - 534.6
}
return Math.exp((skill / mult + 200) / 32) - 534.6;
}