mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Pass original hitobject HitWindows during conversion
This commit is contained in:
@ -132,7 +132,8 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
||||
{
|
||||
StartTime = j,
|
||||
Samples = currentSamples,
|
||||
IsStrong = strong
|
||||
IsStrong = strong,
|
||||
HitWindows = obj.HitWindows
|
||||
};
|
||||
}
|
||||
else
|
||||
@ -142,6 +143,7 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
||||
StartTime = j,
|
||||
Samples = currentSamples,
|
||||
IsStrong = strong,
|
||||
HitWindows = obj.HitWindows
|
||||
};
|
||||
}
|
||||
|
||||
@ -157,6 +159,7 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
||||
IsStrong = strong,
|
||||
Duration = taikoDuration,
|
||||
TickRate = beatmap.BeatmapInfo.BaseDifficulty.SliderTickRate == 3 ? 3 : 4,
|
||||
HitWindows = obj.HitWindows
|
||||
};
|
||||
}
|
||||
}
|
||||
@ -171,6 +174,7 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
||||
IsStrong = strong,
|
||||
Duration = endTimeData.Duration,
|
||||
RequiredHits = (int)Math.Max(1, endTimeData.Duration / 1000 * hitMultiplier),
|
||||
HitWindows = obj.HitWindows
|
||||
};
|
||||
}
|
||||
else
|
||||
@ -184,6 +188,7 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
||||
StartTime = obj.StartTime,
|
||||
Samples = obj.Samples,
|
||||
IsStrong = strong,
|
||||
HitWindows = obj.HitWindows
|
||||
};
|
||||
}
|
||||
else
|
||||
@ -193,6 +198,7 @@ namespace osu.Game.Rulesets.Taiko.Beatmaps
|
||||
StartTime = obj.StartTime,
|
||||
Samples = obj.Samples,
|
||||
IsStrong = strong,
|
||||
HitWindows = obj.HitWindows
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user