mirror of https://github.com/ppy/osu
Clean up + document taiko health processor
This commit is contained in:
parent
e0c1072ab2
commit
429272b864
|
@ -9,6 +9,10 @@
|
|||
|
||||
namespace osu.Game.Rulesets.Taiko.Scoring
|
||||
{
|
||||
/// <summary>
|
||||
/// A <see cref="HealthProcessor"/> for the taiko ruleset.
|
||||
/// Taiko fails if the player has not half-filled their health by the end of the map.
|
||||
/// </summary>
|
||||
public class TaikoHealthProcessor : AccumulatingHealthProcessor
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -41,6 +45,5 @@ public override void ApplyBeatmap(IBeatmap beatmap)
|
|||
|
||||
protected override double GetHealthIncreaseFor(JudgementResult result)
|
||||
=> base.GetHealthIncreaseFor(result) * (result.Type == HitResult.Miss ? hpMissMultiplier : hpMultiplier);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue