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:
parent
a4f3a0d201
commit
0a0f3c93dd
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user