mirror of
https://github.com/ppy/osu.git
synced 2026-05-22 04:59:54 +08:00
Add health drain for spinner ticks
This commit is contained in:
@@ -19,6 +19,8 @@ namespace osu.Game.Rulesets.Osu.Objects
|
||||
public class OsuSpinnerBonusTickJudgement : OsuSpinnerTickJudgement
|
||||
{
|
||||
protected override int NumericResultFor(HitResult result) => 1100;
|
||||
|
||||
protected override double HealthIncreaseFor(HitResult result) => base.HealthIncreaseFor(result) * 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Osu.Objects
|
||||
|
||||
protected override int NumericResultFor(HitResult result) => 100;
|
||||
|
||||
protected override double HealthIncreaseFor(HitResult result) => 0;
|
||||
protected override double HealthIncreaseFor(HitResult result) => result == MaxResult ? 0.6 * base.HealthIncreaseFor(result) : 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user