mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:43:04 +08:00
Merge branch 'master' into catch-catcher
This commit is contained in:
commit
d9f5035d44
@ -103,6 +103,7 @@
|
|||||||
<LangVersion>6</LangVersion>
|
<LangVersion>6</LangVersion>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
|
<StartArguments>--tests</StartArguments>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DeltaCompressionDotNet, Version=1.1.0.0, Culture=neutral, PublicKeyToken=1d14d6e5194e7f4a, processorArchitecture=MSIL">
|
<Reference Include="DeltaCompressionDotNet, Version=1.1.0.0, Culture=neutral, PublicKeyToken=1d14d6e5194e7f4a, processorArchitecture=MSIL">
|
||||||
|
@ -33,12 +33,6 @@ namespace osu.Game.Rulesets.Mania.Beatmaps.Patterns.Legacy
|
|||||||
float positionSeparation = ((positionData?.Position ?? Vector2.Zero) - previousPosition).Length;
|
float positionSeparation = ((positionData?.Position ?? Vector2.Zero) - previousPosition).Length;
|
||||||
double timeSeparation = hitObject.StartTime - previousTime;
|
double timeSeparation = hitObject.StartTime - previousTime;
|
||||||
|
|
||||||
if (timeSeparation <= 125)
|
|
||||||
{
|
|
||||||
// More than 120 BPM
|
|
||||||
convertType |= PatternType.ForceNotStack;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (timeSeparation <= 80)
|
if (timeSeparation <= 80)
|
||||||
{
|
{
|
||||||
// More than 187 BPM
|
// More than 187 BPM
|
||||||
@ -64,7 +58,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps.Patterns.Legacy
|
|||||||
// More than 111 BPM stream
|
// More than 111 BPM stream
|
||||||
convertType |= PatternType.Cycle | PatternType.KeepSingle;
|
convertType |= PatternType.Cycle | PatternType.KeepSingle;
|
||||||
}
|
}
|
||||||
else if (timeSeparation <= 150 & positionSeparation < 20)
|
else if (timeSeparation <= 150 && positionSeparation < 20)
|
||||||
{
|
{
|
||||||
// More than 100 BPM stream
|
// More than 100 BPM stream
|
||||||
convertType |= PatternType.ForceStack | PatternType.LowProbability;
|
convertType |= PatternType.ForceStack | PatternType.LowProbability;
|
||||||
@ -401,4 +395,4 @@ namespace osu.Game.Rulesets.Mania.Beatmaps.Patterns.Legacy
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user