mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Remove unused velocity variables.
This commit is contained in:
@ -22,11 +22,6 @@ namespace osu.Game.Modes.Taiko.Objects
|
|||||||
|
|
||||||
public double Duration { get; set; }
|
public double Duration { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Velocity of the drum roll in positional length units per millisecond.
|
|
||||||
/// </summary>
|
|
||||||
public double Velocity { get; protected set; } = 5;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Numer of ticks per beat length.
|
/// Numer of ticks per beat length.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -64,9 +59,6 @@ namespace osu.Game.Modes.Taiko.Objects
|
|||||||
{
|
{
|
||||||
base.ApplyDefaults(timing, difficulty);
|
base.ApplyDefaults(timing, difficulty);
|
||||||
|
|
||||||
double speedAdjutedBeatLength = timing.SpeedMultiplierAt(StartTime) * timing.BeatLengthAt(StartTime);
|
|
||||||
|
|
||||||
Velocity = base_distance * difficulty.SliderMultiplier / speedAdjutedBeatLength;
|
|
||||||
tickSpacing = timing.BeatLengthAt(StartTime) / TickRate;
|
tickSpacing = timing.BeatLengthAt(StartTime) / TickRate;
|
||||||
|
|
||||||
RequiredGoodHits = TotalTicks * Math.Min(0.15, 0.05 + 0.10 / 6 * difficulty.OverallDifficulty);
|
RequiredGoodHits = TotalTicks * Math.Min(0.15, 0.05 + 0.10 / 6 * difficulty.OverallDifficulty);
|
||||||
|
Reference in New Issue
Block a user