Fixed being able to miss taiko objects by hitting them too early

Revamped taiko HP system
This commit is contained in:
Ivan Pavluk
2018-12-04 21:20:44 +07:00
parent fbb7dc4507
commit 7d692939fc
9 changed files with 70 additions and 63 deletions

View File

@ -9,6 +9,15 @@ namespace osu.Game.Rulesets.Taiko.Judgements
{
public override bool AffectsCombo => false;
protected override int NumericResultFor(HitResult result) => 0;
protected override double HealthIncreaseFor(HitResult result)
{
switch(result)
{
default:
return 0;
case HitResult.Miss:
return -0.65;
}
}
}
}