1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:12:56 +08:00

Add flag for combo end bonus to legacy processor

This commit is contained in:
Dan Balasescu 2023-11-13 12:59:36 +09:00
parent 793d90e396
commit 5fd55e55c0
No known key found for this signature in database

View File

@ -20,6 +20,8 @@ namespace osu.Game.Rulesets.Osu.Scoring
private const double hp_slider_repeat = 4;
private const double hp_slider_tick = 3;
public bool ComboEndBonus { get; set; }
private double lowestHpEver;
private double lowestHpEnd;
private double lowestHpComboEnd;
@ -129,7 +131,7 @@ namespace osu.Game.Rulesets.Osu.Scoring
break;
}
if (i == Beatmap.HitObjects.Count - 1 || ((OsuHitObject)Beatmap.HitObjects[i + 1]).NewCombo)
if (ComboEndBonus && (i == Beatmap.HitObjects.Count - 1 || ((OsuHitObject)Beatmap.HitObjects[i + 1]).NewCombo))
{
increaseHp(hpMultiplierComboEnd * hp_combo_geki + hpMultiplierNormal * hp_hit_300);