1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 04:02:57 +08:00

Add a nerf to FL for TD plays

This commit is contained in:
MBmasher 2021-08-11 06:14:38 +10:00
parent f4ceb17064
commit cee69eaad0

View File

@ -194,7 +194,12 @@ namespace osu.Game.Rulesets.Osu.Difficulty
if (mods.Any(h => h is OsuModFlashlight))
{
flashlightValue = Math.Pow(Attributes.FlashlightStrain, 2.0) * 25.0;
double rawFlashlight = Attributes.FlashlightStrain;
if (mods.Any(m => m is OsuModTouchDevice))
rawFlashlight = Math.Pow(rawFlashlight, 0.8);
flashlightValue = Math.Pow(rawFlashlight, 2.0) * 25.0;
// Add an additional bonus for HDFL.
if (mods.Any(h => h is OsuModHidden))