mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:57:52 +08:00
MBMasher's FL change
This commit is contained in:
parent
c6b37c45b5
commit
8020ac26fb
@ -123,8 +123,10 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
|||||||
|
|
||||||
if (mods.Any(h => h is OsuModFlashlight))
|
if (mods.Any(h => h is OsuModFlashlight))
|
||||||
{
|
{
|
||||||
// Apply length bonus again if flashlight is on simply because it becomes a lot harder on longer maps.
|
// Apply object-based bonus for flashlight.
|
||||||
aimValue *= 1.45f * lengthBonus;
|
aimValue *= 1.0f + 0.35f * Math.Min(1.0f, totalHits / 200.0f) +
|
||||||
|
(numTotalHits > 200 ? 0.3f * Math.Min(1.0f, (totalHits - 200) / 300.0f) +
|
||||||
|
(numTotalHits > 500 ? (totalHits - 500) / 1200.0f : 0.0f) : 0.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scale the aim value with accuracy _slightly_
|
// Scale the aim value with accuracy _slightly_
|
||||||
|
Loading…
Reference in New Issue
Block a user