mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Add flag for combo end bonus to legacy processor
This commit is contained in:
parent
793d90e396
commit
5fd55e55c0
@ -20,6 +20,8 @@ namespace osu.Game.Rulesets.Osu.Scoring
|
|||||||
private const double hp_slider_repeat = 4;
|
private const double hp_slider_repeat = 4;
|
||||||
private const double hp_slider_tick = 3;
|
private const double hp_slider_tick = 3;
|
||||||
|
|
||||||
|
public bool ComboEndBonus { get; set; }
|
||||||
|
|
||||||
private double lowestHpEver;
|
private double lowestHpEver;
|
||||||
private double lowestHpEnd;
|
private double lowestHpEnd;
|
||||||
private double lowestHpComboEnd;
|
private double lowestHpComboEnd;
|
||||||
@ -129,7 +131,7 @@ namespace osu.Game.Rulesets.Osu.Scoring
|
|||||||
break;
|
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);
|
increaseHp(hpMultiplierComboEnd * hp_combo_geki + hpMultiplierNormal * hp_hit_300);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user