adjusted some values to normalize output

This commit is contained in:
HorizonCode 2021-06-25 20:45:51 +02:00
parent 0e8c52b7c1
commit 1fe30194b0
1 changed files with 5 additions and 6 deletions

11
oppai.c
View File

@ -2168,17 +2168,16 @@ int pp_std(ezpp_t ez) {
if (ez->mods & MODS_FL) ez->acc_pp *= 1.02f;
/* total pp -------------------------------------------------------- */
final_multiplier = 1.4f;
final_multiplier = 1.2f;
if (ez->mods & MODS_NF) final_multiplier *= 0.90f;
if (ez->mods & MODS_SO) final_multiplier *= 0.95f;
ez->pp = (float)(
pow(
pow(ez->speed_pp, 1.108f) +
pow(ez->acc_pp, 1.1f),
1.1f / 1.1f
) * final_multiplier
);
pow(ez->speed_pp, 0.95f) +
pow(ez->acc_pp, 0.95f),
1.19f
) * final_multiplier);
ez->accuracy_percent = accuracy * 100.0f;