mirror of
https://github.com/osukey/osukey.git
synced 2025-05-05 05:37:18 +09:00
Add a nerf to FL for TD plays
This commit is contained in:
parent
f4ceb17064
commit
cee69eaad0
@ -194,7 +194,12 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
|||||||
|
|
||||||
if (mods.Any(h => h is OsuModFlashlight))
|
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.
|
// Add an additional bonus for HDFL.
|
||||||
if (mods.Any(h => h is OsuModHidden))
|
if (mods.Any(h => h is OsuModHidden))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user