mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Clean up + document taiko health processor
This commit is contained in:
@ -9,6 +9,10 @@ using osu.Game.Rulesets.Taiko.Objects;
|
||||
|
||||
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 @@ namespace osu.Game.Rulesets.Taiko.Scoring
|
||||
|
||||
protected override double GetHealthIncreaseFor(JudgementResult result)
|
||||
=> base.GetHealthIncreaseFor(result) * (result.Type == HitResult.Miss ? hpMissMultiplier : hpMultiplier);
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user