commit
45106ac18a
|
@ -106,6 +106,10 @@ class piano:
|
||||||
multiplier *= 0.95
|
multiplier *= 0.95
|
||||||
if scoreMods & mods.EASY != 0:
|
if scoreMods & mods.EASY != 0:
|
||||||
multiplier *= 0.50
|
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
|
pp = pow(pow(strainPP, 1.1) + pow(accPP, 1.1), 1.0 / 1.1) * multiplier
|
||||||
log.debug("[WIFIPIANO2] Calculated PP: {}".format(pp))
|
log.debug("[WIFIPIANO2] Calculated PP: {}".format(pp))
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user