Skip to content

Commit 71b8051

Browse files
committed
Minor tweaks to mod properties
1 parent 035fc9a commit 71b8051

8 files changed

+14
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
using System;
2+
using System.Linq;
13
using osu.Game.Rulesets.Mods;
24

35
namespace osu.Game.Rulesets.Sentakki.Mods
46
{
57
public class SentakkiModAccuracyChallenge : ModAccuracyChallenge
68
{
9+
public override Type[] IncompatibleMods => [.. base.IncompatibleMods.Append(typeof(ModFailCondition))];
710
}
811
}

osu.Game.Rulesets.Sentakki/Mods/SentakkiModAutoTouch.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class SentakkiModAutoTouch : Mod, IApplicableToDrawableHitObject
1717
public override IconUsage? Icon => OsuIcon.PlayStyleTouch;
1818
public override ModType Type => ModType.Automation;
1919
public override LocalisableString Description => SentakkiModAutoTouchStrings.ModDescription;
20-
public override double ScoreMultiplier => .5f;
20+
public override double ScoreMultiplier => .2f;
2121
public override Type[] IncompatibleMods => base.IncompatibleMods.Append(typeof(ModAutoplay)).ToArray();
2222

2323
public void ApplyToDrawableHitObject(DrawableHitObject drawableHitObject)

osu.Game.Rulesets.Sentakki/Mods/SentakkiModAutoplay.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ public override ModReplayData CreateReplayData(IBeatmap beatmap, IReadOnlyList<M
1919
public override Type[] IncompatibleMods => new[]
2020
{
2121
typeof(ModRelax),
22-
typeof(ModSuddenDeath),
23-
typeof(ModPerfect),
24-
typeof(ModNoFail),
22+
typeof(ModFailCondition),
2523
typeof(SentakkiModAutoTouch),
26-
typeof(SentakkiModChallenge),
2724
};
2825

2926
public void ApplyToDrawableHitObject(DrawableHitObject drawableHitObject)

osu.Game.Rulesets.Sentakki/Mods/SentakkiModChallenge.cs

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class SentakkiModChallenge : ModFailCondition, IApplicableToDrawableRules
3131
public override bool RequiresConfiguration => true;
3232

3333
public override double ScoreMultiplier => 1.00;
34+
public override bool Ranked => true;
3435

3536
public override Type[] IncompatibleMods => new[]
3637
{

osu.Game.Rulesets.Sentakki/Mods/SentakkiModDifficultyAdjust.cs

+2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ public override double ScoreMultiplier
3636
return result;
3737
}
3838
}
39+
3940
public override bool RequiresConfiguration => true;
41+
public override bool Ranked => true;
4042

4143
[SettingSource(typeof(SentakkiModDifficultyAdjustStrings), nameof(SentakkiModDifficultyAdjustStrings.BreakRemoval))]
4244
public BindableBool BreakRemoval { get; } = new BindableBool();

osu.Game.Rulesets.Sentakki/Mods/SentakkiModExperimental.cs

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ public class SentakkiModExperimental : Mod, IApplicableToBeatmapConverter
2323

2424
public override double ScoreMultiplier => 1.00;
2525

26+
public override bool Ranked => true;
27+
2628
[SettingSource(typeof(SentakkiModExperimentalStrings), nameof(SentakkiModExperimentalStrings.FanSlides), nameof(SentakkiModExperimentalStrings.FanSlidesDescription))]
2729
public Bindable<bool> EnableSlideFans { get; } = new BindableBool(false);
2830

osu.Game.Rulesets.Sentakki/Mods/SentakkiModMirror.cs

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ public class SentakkiModMirror : Mod, IApplicableAfterBeatmapConversion
1919
public override ModType Type => ModType.Conversion;
2020
public override double ScoreMultiplier => 1;
2121

22+
public override bool Ranked => true;
23+
2224
public override bool RequiresConfiguration => true;
2325

2426
[SettingSource(typeof(SentakkiModMirrorStrings), nameof(SentakkiModMirrorStrings.MirrorVertically), nameof(SentakkiModMirrorStrings.MirrorVerticallyDescription))]

osu.Game.Rulesets.Sentakki/Mods/SentakkiModSynesthesia.cs

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ public class SentakkiModSynesthesia : ModSynesthesia, IApplicableToBeatmapProces
2525
[SettingSource(typeof(SentakkiModSynesthesiaStrings), nameof(SentakkiModSynesthesiaStrings.IntervalColouring), nameof(SentakkiModSynesthesiaStrings.IntervalColouringDescription))]
2626
public BindableBool IntervalColouring { get; } = new BindableBool(false);
2727

28+
public override bool Ranked => true;
29+
2830
public void ApplyToBeatmapProcessor(IBeatmapProcessor beatmapProcessor)
2931
{
3032
if (beatmapProcessor is not SentakkiBeatmapProcessor sbp)

0 commit comments

Comments
 (0)