feat: adjust speed pp

This commit is contained in:
tsunyoku
2022-11-20 15:51:14 +00:00
parent f11f8e9fa6
commit 79afedcdca
+2 -2
View File
@@ -281,7 +281,7 @@ impl<'m> OsuPP<'m> {
};
let speed_factor = match self.mods.rx() {
true => speed_value.powf(0.82 * acc_depression),
true => speed_value.powf(0.83 * acc_depression),
false => speed_value.powf(1.1),
};
@@ -486,7 +486,7 @@ impl<'m> OsuPP<'m> {
}
// Scaling the speed value with accuracy and OD
let acc_factor = if self.mods.rx() { 0.9 } else { 0.95 };
let acc_factor = if self.mods.rx() { 0.93 } else { 0.95 };
speed_value *= (acc_factor + attributes.od as f32 * attributes.od as f32 / 750.0)
* self
.acc