From c9c026226a8e7ab045a71141e9c883c57c8fd5bc Mon Sep 17 00:00:00 2001 From: Simon G <45692977+jeenyuhs@users.noreply.github.com> Date: Fri, 3 Nov 2023 15:58:21 +0000 Subject: [PATCH] buff hdfl on taiko --- Cargo.toml | 2 +- src/taiko/pp.rs | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d289c7df..4764b908 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rina-pp" -version = "0.9.22" +version = "0.9.23" authors = ["MaxOhn ", "Aoba Suzukaze "] edition = "2021" license = "MIT" diff --git a/src/taiko/pp.rs b/src/taiko/pp.rs index 2d81e86d..d9388de9 100644 --- a/src/taiko/pp.rs +++ b/src/taiko/pp.rs @@ -347,12 +347,16 @@ impl TaikoPpInner { diff_value *= 1.025; } - if self.mods.hr() { + if self.mods.hr() && self.mods.rx() { + diff_value *= 1.12; + } else if self.mods.hr() { diff_value *= 1.05; } if self.mods.fl() { diff_value *= 1.05 * len_bonus; + } else if self.mods.fl() && self.mods.rx() { + diff_value *= 1.12 * len_bonus; } let acc = self.custom_accuracy(); @@ -380,6 +384,8 @@ impl TaikoPpInner { // * Slight HDFL Bonus for accuracy. A clamp is used to prevent against negative values if self.mods.hd() && self.mods.fl() { acc_value *= (1.075 * len_bonus).max(1.05); + } else if self.mods.hd() && self.mods.fl() && self.mods.rx() { + acc_value *= 1.15 * (len_bonus + 0.2); } acc_value