mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Calculate more correct AR locally for now
This commit is contained in:
parent
e3f3b1ab1a
commit
326a8f62eb
@ -180,7 +180,10 @@ namespace osu.Game.Tournament.Components
|
|||||||
|
|
||||||
if ((mods & LegacyMods.DoubleTime) > 0)
|
if ((mods & LegacyMods.DoubleTime) > 0)
|
||||||
{
|
{
|
||||||
ar *= 1.5f;
|
// temporary local calculation (taken from OsuDifficultyCalculator)
|
||||||
|
double preempt = (int)BeatmapDifficulty.DifficultyRange(ar, 1800, 1200, 450) / 1.5;
|
||||||
|
ar = (float)(preempt > 1200 ? (1800 - preempt) / 120 : (1200 - preempt) / 150 + 5);
|
||||||
|
|
||||||
bpm *= 1.5f;
|
bpm *= 1.5f;
|
||||||
length /= 1.5f;
|
length /= 1.5f;
|
||||||
srExtra = "*";
|
srExtra = "*";
|
||||||
|
Loading…
Reference in New Issue
Block a user