mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 11:07:32 +08:00
Rename finisher -> accented.
This commit is contained in:
parent
4e31e3b443
commit
afdb719c60
@ -44,7 +44,7 @@ namespace osu.Game.Modes.Taiko.Beatmaps
|
||||
IHasRepeats repeatsData = original as IHasRepeats;
|
||||
IHasEndTime endTimeData = original as IHasEndTime;
|
||||
|
||||
bool isFinisher = ((original.Sample?.Type ?? SampleType.None) & SampleType.Finish) > 0;
|
||||
bool accented = ((original.Sample?.Type ?? SampleType.None) & SampleType.Finish) > 0;
|
||||
|
||||
if (distanceData != null)
|
||||
{
|
||||
@ -52,7 +52,7 @@ namespace osu.Game.Modes.Taiko.Beatmaps
|
||||
{
|
||||
StartTime = original.StartTime,
|
||||
Sample = original.Sample,
|
||||
IsFinisher = isFinisher,
|
||||
Accented = accented,
|
||||
|
||||
Distance = distanceData.Distance * (repeatsData?.RepeatCount ?? 1)
|
||||
};
|
||||
@ -65,7 +65,7 @@ namespace osu.Game.Modes.Taiko.Beatmaps
|
||||
{
|
||||
StartTime = original.StartTime,
|
||||
Sample = original.Sample,
|
||||
IsFinisher = isFinisher,
|
||||
Accented = accented,
|
||||
|
||||
EndTime = original.StartTime + endTimeData.Duration * bash_convert_factor
|
||||
};
|
||||
@ -75,7 +75,7 @@ namespace osu.Game.Modes.Taiko.Beatmaps
|
||||
{
|
||||
StartTime = original.StartTime,
|
||||
Sample = original.Sample,
|
||||
IsFinisher = isFinisher
|
||||
Accented = accented
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -20,9 +20,10 @@ namespace osu.Game.Modes.Taiko.Objects
|
||||
public double PreEmpt;
|
||||
|
||||
/// <summary>
|
||||
/// Whether this HitObject is a finisher.
|
||||
/// Whether this HitObject is accented.
|
||||
/// Accented hit objects give more points for hitting the hit object with both keys.
|
||||
/// </summary>
|
||||
public bool IsFinisher;
|
||||
public bool Accented;
|
||||
|
||||
/// <summary>
|
||||
/// Whether this HitObject is in Kiai time.
|
||||
|
@ -134,7 +134,7 @@ namespace osu.Game.Modes.Taiko.Scoring
|
||||
hpIncreaseGood = hpMultiplierNormal * BeatmapDifficulty.DifficultyRange(beatmap.BeatmapInfo.Difficulty.DrainRate, hp_hit_good_max, hp_hit_good, hp_hit_good);
|
||||
hpIncreaseMiss = BeatmapDifficulty.DifficultyRange(beatmap.BeatmapInfo.Difficulty.DrainRate, hp_miss_min, hp_miss_mid, hp_miss_max);
|
||||
|
||||
var finishers = beatmap.HitObjects.FindAll(o => o is Hit && o.IsFinisher);
|
||||
var finishers = beatmap.HitObjects.FindAll(o => o is Hit && o.Accented);
|
||||
|
||||
// This is a linear function that awards:
|
||||
// 10 times bonus points for hitting a finisher with both keys with 30 finishers in the map
|
||||
@ -149,7 +149,7 @@ namespace osu.Game.Modes.Taiko.Scoring
|
||||
{
|
||||
Result = HitResult.Hit,
|
||||
TaikoResult = TaikoHitResult.Great,
|
||||
SecondHit = obj.IsFinisher
|
||||
SecondHit = obj.Accented
|
||||
});
|
||||
}
|
||||
else if (obj is DrumRoll)
|
||||
@ -160,7 +160,7 @@ namespace osu.Game.Modes.Taiko.Scoring
|
||||
{
|
||||
Result = HitResult.Hit,
|
||||
TaikoResult = TaikoHitResult.Great,
|
||||
SecondHit = obj.IsFinisher
|
||||
SecondHit = obj.Accented
|
||||
});
|
||||
}
|
||||
|
||||
@ -168,7 +168,7 @@ namespace osu.Game.Modes.Taiko.Scoring
|
||||
{
|
||||
Result = HitResult.Hit,
|
||||
TaikoResult = TaikoHitResult.Great,
|
||||
SecondHit = obj.IsFinisher
|
||||
SecondHit = obj.Accented
|
||||
});
|
||||
}
|
||||
else if (obj is Bash)
|
||||
|
Loading…
Reference in New Issue
Block a user