fixed values
This commit is contained in:
parent
315af71ed9
commit
7aa20d9768
|
@ -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))
|
||||
|
||||
|
|
Reference in New Issue
Block a user