Skip to content

Commit

Permalink
tweak values for dt
Browse files Browse the repository at this point in the history
  • Loading branch information
jeenyuhs authored and Hazuki-san committed Oct 1, 2023
1 parent 9c10ae3 commit c3bd418
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rina-pp"
version = "0.9.12"
version = "0.9.13"
authors = ["MaxOhn <[email protected]>", "Aoba Suzukaze <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
6 changes: 5 additions & 1 deletion src/osu/pp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,11 @@ impl OsuPpInner {
length /= 1.5;
}

aim_value *= 2.1_f64.powf(diff_ratio + (length / self.total_hits() / 2.0)) * 0.2;
if self.mods.dt() {
aim_value *= 1.96_f64.powf(diff_ratio + (length / self.total_hits() / 2.0)) * 0.2;
} else {
aim_value *= 2.1_f64.powf(diff_ratio + (length / self.total_hits() / 2.0)) * 0.2;
};

if length <= 60.0_f64 {
// maybe say length / total hits instead of 130.
Expand Down

0 comments on commit c3bd418

Please sign in to comment.