fix: stream scaling (#6)

* fix: stream scaling

* misc: trial and error is fun

* fix: accidental nomod nerf

* refactor: rework entire stream nerf

* trial and error sdfsdfsdfsdfs

* oops

* maybe

* ffs

* fix: make scaling consistent via sr

* fix: i like arbitrary values

* fix: arbitrary part 2

* fix: rounding

* fix: increment version

---------

Co-authored-by: tsunyoku <mbruhyo@gmail.com>
This commit is contained in:
James
2023-03-24 21:09:41 +00:00
committed by GitHub
parent 57872a5d92
commit 764da0dbf4
2 changed files with 690 additions and 689 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "akatsuki-pp"
version = "0.9.3"
version = "0.9.4"
authors = ["MaxOhn <ohn.m@hotmail.de>", "tsunyoku <tsunyoku@gmail.com>"]
edition = "2018"
license = "MIT"
+3 -2
View File
@@ -265,9 +265,10 @@ impl<'m> OsuPP<'m> {
if self.mods.rx() {
multiplier *= 0.97;
let streams_nerf = aim_value / speed_value;
let difficulty = self.attributes.as_ref().unwrap();
let streams_nerf = ((difficulty.aim_strain / difficulty.speed_strain) * 100.0).round() / 100.0;
if streams_nerf < 1.0 {
if streams_nerf < 1.09 {
let acc_factor = (1.0 - self.acc.unwrap()).abs();
acc_depression = (0.84 - acc_factor).max(0.5);