mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Make hp work + cleanup
This commit is contained in:
@ -26,12 +26,10 @@ namespace osu.Game.Rulesets.Catch.Scoring
|
||||
hpDrainRate = beatmap.BeatmapInfo.BaseDifficulty.DrainRate;
|
||||
}
|
||||
|
||||
protected override double HpFactorFor(Judgement judgement, HitResult result)
|
||||
protected override double HpFactorFor(JudgementResult result)
|
||||
{
|
||||
switch (result)
|
||||
switch (result.Type)
|
||||
{
|
||||
case HitResult.Miss when judgement.IsBonus:
|
||||
return 0;
|
||||
case HitResult.Miss:
|
||||
return hpDrainRate;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user