fix scoresaber pp
This commit is contained in:
parent
ed31a6c00e
commit
af219bf06b
@ -72,7 +72,7 @@ function findPPModifier(acc, curve) {
|
|||||||
|
|
||||||
export function getScoreSaberPP(acc, stars) {
|
export function getScoreSaberPP(acc, stars) {
|
||||||
const ppValue = stars * starMultiplier;
|
const ppValue = stars * starMultiplier;
|
||||||
const modifier = findPPModifier(acc, ppCurve);
|
const modifier = findPPModifier(acc * 100, ppCurve);
|
||||||
|
|
||||||
const finalPP = modifier * ppValue;
|
const finalPP = modifier * ppValue;
|
||||||
return Number.isNaN(finalPP) ? undefined : finalPP;
|
return Number.isNaN(finalPP) ? undefined : finalPP;
|
||||||
|
Reference in New Issue
Block a user