Merge branch 'main' of https://git.fascinated.cc/Fascinated/beatsaber-overlay
This commit is contained in:
commit
455d4e8057
@ -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