1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

Rename OkResult, rephrase "strong bonus"

This commit is contained in:
sw1tchbl4d3 2022-07-24 20:55:13 +02:00
parent a4f3a0d201
commit 0a0f3c93dd
4 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ namespace osu.Game.Rulesets.Taiko.Judgements
/// <summary> /// <summary>
/// The <see cref="HitResult"/> to grant when the player has hit more than half of swell ticks. /// The <see cref="HitResult"/> to grant when the player has hit more than half of swell ticks.
/// </summary> /// </summary>
public virtual HitResult OkResult => HitResult.Ok; public virtual HitResult PartialCompletionResult => HitResult.Ok;
protected override double HealthIncreaseFor(HitResult result) protected override double HealthIncreaseFor(HitResult result)
{ {

View File

@ -141,7 +141,7 @@ namespace osu.Game.Rulesets.Taiko.Mods
{ {
public override HitResult MaxResult => HitResult.LargeBonus; public override HitResult MaxResult => HitResult.LargeBonus;
public override HitResult OkResult => HitResult.SmallBonus; public override HitResult PartialCompletionResult => HitResult.SmallBonus;
} }
private class ClassicSwell : Swell private class ClassicSwell : Swell

View File

@ -225,7 +225,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
ApplyResult(r => ApplyResult(r =>
{ {
var swellJudgement = (TaikoSwellJudgement)r.Judgement; var swellJudgement = (TaikoSwellJudgement)r.Judgement;
r.Type = numHits > HitObject.RequiredHits / 2 ? swellJudgement.OkResult : swellJudgement.MinResult; r.Type = numHits > HitObject.RequiredHits / 2 ? swellJudgement.PartialCompletionResult : swellJudgement.MinResult;
}); });
} }
} }

View File

@ -200,7 +200,7 @@ namespace osu.Game.Rulesets.Taiko
return "drum tick"; return "drum tick";
case HitResult.SmallBonus: case HitResult.SmallBonus:
return "strong bonus"; return "bonus";
} }
return base.GetDisplayNameForHitResult(result); return base.GetDisplayNameForHitResult(result);