mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:33:20 +08:00
Add option to disable combo end
This commit is contained in:
parent
98e6b7744b
commit
65b41138a3
@ -26,6 +26,7 @@ namespace osu.Game.Rulesets.Osu.Scoring
|
||||
|
||||
public Action<string>? OnIterationFail;
|
||||
public Action<string>? OnIterationSuccess;
|
||||
public bool ApplyComboEndBonus { get; set; } = true;
|
||||
|
||||
private double lowestHpEver;
|
||||
private double lowestHpEnd;
|
||||
@ -148,7 +149,7 @@ namespace osu.Game.Rulesets.Osu.Scoring
|
||||
break;
|
||||
}
|
||||
|
||||
if (i == Beatmap.HitObjects.Count - 1 || ((OsuHitObject)Beatmap.HitObjects[i + 1]).NewCombo)
|
||||
if (ApplyComboEndBonus && (i == Beatmap.HitObjects.Count - 1 || ((OsuHitObject)Beatmap.HitObjects[i + 1]).NewCombo))
|
||||
{
|
||||
increaseHp(hpMultiplierComboEnd * hp_combo_geki + hpMultiplierNormal * hp_hit_300);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user