1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +08:00

...Revert AffectsHP->AffectsHp, add HP abbrev

This commit is contained in:
Ivan Pavluk 2018-11-29 23:12:02 +07:00
parent 13a166a645
commit 4184f17709
6 changed files with 6 additions and 5 deletions

View File

@ -9,7 +9,7 @@ namespace osu.Game.Rulesets.Taiko.Judgements
{
public override bool AffectsCombo => false;
public override bool AffectsHp => false;
public override bool AffectsHP => false;
protected override int NumericResultFor(HitResult result) => 0;
}

View File

@ -13,7 +13,7 @@ namespace osu.Game.Rulesets.Taiko.Judgements
/// <summary>
/// Whether this <see cref="TaikoJudgement"/> should affect user's hitpoints.
/// </summary>
public virtual bool AffectsHp => true;
public virtual bool AffectsHP => true;
/// <summary>
/// Computes the numeric result value for the combo portion of the score.

View File

@ -6,7 +6,7 @@ namespace osu.Game.Rulesets.Taiko.Judgements
public class TaikoStrongJudgement : TaikoJudgement
{
// MainObject already changes the HP
public override bool AffectsHp => false;
public override bool AffectsHP => false;
public override bool AffectsCombo => false;
}

View File

@ -9,7 +9,7 @@ namespace osu.Game.Rulesets.Taiko.Judgements
{
public override bool AffectsCombo => false;
public override bool AffectsHp => false;
public override bool AffectsHP => false;
protected override int NumericResultFor(HitResult result)
{

View File

@ -80,7 +80,7 @@ namespace osu.Game.Rulesets.Taiko.Scoring
{
base.ApplyResult(result);
if (!((TaikoJudgement)result.Judgement).AffectsHp)
if (!((TaikoJudgement)result.Judgement).AffectsHP)
return;
bool isSwell = false;

View File

@ -200,6 +200,7 @@
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GL/@EntryIndexedValue">GL</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=GLSL/@EntryIndexedValue">GLSL</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=HID/@EntryIndexedValue">HID</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=HP/@EntryIndexedValue">HP</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=HUD/@EntryIndexedValue">HUD</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=ID/@EntryIndexedValue">ID</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=IP/@EntryIndexedValue">IP</s:String>