1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Strong drumrolls no longer allow all actions to be used

This commit is contained in:
OpenSauce04 2023-02-27 12:22:38 +00:00 committed by OpenSauce
parent b883c6af34
commit f2cada4584

View File

@ -99,8 +99,10 @@ namespace osu.Game.Rulesets.Taiko.Mods
return true;
}
// If next hit object is strong, allow usage of all actions
if (playfield.HitObjectContainer.AliveObjects.FirstOrDefault(h => h.Result?.HasResult != true)?.HitObject is TaikoStrongableHitObject hitObject && hitObject.IsStrong)
// If next hit object is strong, allow usage of all actions. Strong drumrolls are ignored in this check.
if (playfield.HitObjectContainer.AliveObjects.FirstOrDefault(h => h.Result?.HasResult != true)?.HitObject is TaikoStrongableHitObject hitObject
&& hitObject.IsStrong
&& hitObject as DrumRoll == null)
return true;
if (CheckValidNewAction(action))