Adjust values to Bdach's refined taste

This commit is contained in:
mk-56
2022-01-24 00:42:43 +01:00
parent 955bab926f
commit ed84ae0ac0
5 changed files with 64 additions and 35 deletions

View File

@ -26,14 +26,20 @@ namespace osu.Game.Rulesets.Catch.Mods
[SettingSource("Initial radius", "Initial radius of the flashlight area.")]
public override BindableNumber<float> InitialRadius { get; } = new BindableNumber<float>
{
MinValue = 150f,
MaxValue = 600f,
Default = 350f,
Value = 350f,
Precision = 5f
MinValue = 0.4f,
MaxValue = 1.7f,
Default = 1f,
Value = 1f,
Precision = 0.1f
};
public override Flashlight CreateFlashlight() => new CatchFlashlight(playfield, ChangeRadius.Value, InitialRadius.Value);
protected override BindableNumber<float> ModeMultiplier { get; } = new BindableNumber<float>
{
Default = 350,
Value = 350,
};
public override Flashlight CreateFlashlight() => new CatchFlashlight(playfield, ChangeRadius.Value, InitialRadius.Value, ModeMultiplier.Value);
private CatchPlayfield playfield;
@ -47,8 +53,8 @@ namespace osu.Game.Rulesets.Catch.Mods
{
private readonly CatchPlayfield playfield;
public CatchFlashlight(CatchPlayfield playfield, bool isRadiusBasedOnCombo, float initialRadius)
: base(isRadiusBasedOnCombo, initialRadius)
public CatchFlashlight(CatchPlayfield playfield, bool isRadiusBasedOnCombo, float initialRadius, float modeMultiplier)
: base(isRadiusBasedOnCombo, initialRadius, modeMultiplier)
{
this.playfield = playfield;
FlashlightSize = new Vector2(0, GetRadiusFor(0));