diff --git a/Quaver.API/Maps/Processors/Scoring/ScoreProcessorKeys.cs b/Quaver.API/Maps/Processors/Scoring/ScoreProcessorKeys.cs index 8d4b66996..bd470dab5 100644 --- a/Quaver.API/Maps/Processors/Scoring/ScoreProcessorKeys.cs +++ b/Quaver.API/Maps/Processors/Scoring/ScoreProcessorKeys.cs @@ -126,6 +126,20 @@ public sealed class ScoreProcessorKeys : ScoreProcessor {Judgement.Miss, -6.0f} }; + /// + /// Experimental base health weighting used instead of + /// when is active. + /// + private static Dictionary ExperimentalHealthWeighting { get; } = new Dictionary() + { + {Judgement.Marv, 0.5f}, + {Judgement.Perf, 0.4f}, + {Judgement.Great, 0.2f}, + {Judgement.Good, -1.5f}, + {Judgement.Okay, -6.0f}, + {Judgement.Miss, -3.0f} + }; + /// /// /// @@ -355,6 +369,12 @@ protected override void InitializeHealthWeighting() if (Mods.HasFlag(ModIdentifier.Autoplay)) return; + if (Mods.HasFlag(ModIdentifier.HeatlthAdjust)) + { + foreach (var item in ExperimentalHealthWeighting) + JudgementHealthWeighting[item.Key] = item.Value; + } + var density = Map.GetActionsPerSecond(ModHelper.GetRateFromMods(Mods)); // ReSharper disable once CompareOfFloatsByEqualityOperator