From 7aa20d9768dace3cd058d9a4b30d83e723d77528 Mon Sep 17 00:00:00 2001 From: Marc Andre Herpers Date: Sat, 26 Jan 2019 16:43:22 +0100 Subject: [PATCH] fixed values --- pp/wifipiano2.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pp/wifipiano2.py b/pp/wifipiano2.py index 4cbc51f..a95044f 100644 --- a/pp/wifipiano2.py +++ b/pp/wifipiano2.py @@ -102,12 +102,14 @@ class piano: multiplier = 1.1 if scoreMods & mods.NOFAIL != 0: multiplier *= 0.90 - if scoreMods & mods.DOUBLETIME != 0: - multiplier *= 1.75 if scoreMods & mods.SPUNOUT != 0: multiplier *= 0.95 if scoreMods & mods.EASY != 0: multiplier *= 0.50 + if scoreMods & mods.DOUBLETIME != 0: + multiplier *= 2.45 + if scoreMods & mods.HALFTIME != 0: + multiplier *= 0.50 pp = pow(pow(strainPP, 1.1) + pow(accPP, 1.1), 1.0 / 1.1) * multiplier log.debug("[WIFIPIANO2] Calculated PP: {}".format(pp))