Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions osu.Game.Rulesets.Catch/Edit/Setup/CatchDifficultySection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,15 @@ private void updateValues()
Beatmap.Difficulty.CircleSize = circleSizeSlider.Current.Value;
Beatmap.Difficulty.DrainRate = healthDrainSlider.Current.Value;
Beatmap.Difficulty.ApproachRate = approachRateSlider.Current.Value;
// in lazer catch, Overall Difficulty does *nothing* - as it should be in a sane world.
// in stable, it does *one extremely specific thing* which is influence the infamous `difficultyPeppyStars`
// which in turn affects score V1 (see `LegacyRulesetExtensions.CalculateDifficultyPeppyStars()`).
// there is a Ranking Criteria rule saying that Overall Difficulty and Approach Rate should match:
// https://osu.ppy.sh/wiki/en/Ranking_criteria/osu!catch
// the one case wherein that breaks stable is on some marathon maps;
// on those setting Overall Difficulty too high can lead to score V1 exceeding 32 bits ("score overflow").
// that case can be manually handled by mappers.
Beatmap.Difficulty.OverallDifficulty = approachRateSlider.Current.Value;
Beatmap.Difficulty.SliderMultiplier = baseVelocitySlider.Current.Value;
Beatmap.Difficulty.SliderTickRate = tickRateSlider.Current.Value;

Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Osu/Mods/OsuModBlinds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace osu.Game.Rulesets.Osu.Mods
{
public partial class OsuModBlinds : Mod, IApplicableToDrawableRuleset<OsuHitObject>, IApplicableToHealthProcessor
public partial class OsuModBlinds : ModBlinds, IApplicableToDrawableRuleset<OsuHitObject>, IApplicableToHealthProcessor
{
public override string Name => "Blinds";
public override LocalisableString Description => "Play with blinds on your screen.";
Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Osu/Mods/OsuModTraceable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

namespace osu.Game.Rulesets.Osu.Mods
{
public class OsuModTraceable : ModWithVisibilityAdjustment, IRequiresApproachCircles
public class OsuModTraceable : ModTraceable, IRequiresApproachCircles
{
public override string Name => "Traceable";
public override string Acronym => "TC";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private void load()
{
allowResponseCallback.Wait(10000);
allowResponseCallback.Reset();
Schedule(() => d?.Invoke("Incorrect password", new InvalidPasswordException()));
Schedule(() => d("Incorrect password", new InvalidPasswordException()));
});
});

Expand Down
4 changes: 2 additions & 2 deletions osu.Game/Overlays/Mods/Input/ClassicModHotkeyHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public class ClassicModHotkeyHandler : IModHotkeyHandler
[Key.A] = new[] { typeof(ModHardRock) },
[Key.S] = new[] { typeof(ModSuddenDeath), typeof(ModPerfect) },
[Key.D] = new[] { typeof(ModDoubleTime), typeof(ModNightcore) },
[Key.F] = new[] { typeof(ModHidden) },
[Key.G] = new[] { typeof(ModFlashlight) },
[Key.F] = new[] { typeof(ModHidden), typeof(ModTraceable) },
[Key.G] = new[] { typeof(ModFlashlight), typeof(ModBlinds) },
[Key.Z] = new[] { typeof(ModRelax) },
[Key.V] = new[] { typeof(ModAutoplay), typeof(ModCinema) }
};
Expand Down
10 changes: 10 additions & 0 deletions osu.Game/Rulesets/Mods/ModBlinds.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

namespace osu.Game.Rulesets.Mods
{
public abstract class ModBlinds : Mod
{
// Class only exists for classic hotkey support.
}
}
10 changes: 10 additions & 0 deletions osu.Game/Rulesets/Mods/ModTraceable.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

namespace osu.Game.Rulesets.Mods
{
public abstract class ModTraceable : ModWithVisibilityAdjustment
{
// Class only exists for classic hotkey support.
}
}
Loading