mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Implement Sudden Death and Perfect
- Two additional fail conditions
This commit is contained in:
@ -227,6 +227,12 @@ namespace osu.Game.Screens.Play
|
||||
// Bind ScoreProcessor to ourselves
|
||||
scoreProcessor.AllJudged += onCompletion;
|
||||
scoreProcessor.Failed += onFail;
|
||||
|
||||
if (Beatmap.Value.Mods.Value.Any(m => m.Name == "Sudden Death"))
|
||||
scoreProcessor.strictFail = 1;
|
||||
|
||||
if (Beatmap.Value.Mods.Value.Any(m => m.Name == "Perfect"))
|
||||
scoreProcessor.strictFail = 2;
|
||||
}
|
||||
|
||||
private void applyRateFromMods()
|
||||
|
Reference in New Issue
Block a user