mirror of
https://github.com/ppy/osu
synced 2025-01-01 03:42:19 +00:00
Add health drain for spinner ticks
This commit is contained in:
parent
1560e1786a
commit
bc079fccf5
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user