Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inhibit drum SP activation gems during active SP #940

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

wyrdough
Copy link

If the player has more than half a bar of SP during a drum fill phrase, the activation gem will be generated even if SP is active.

This is because FourLaneDrumsNoteElement checks Player.Engine.CanStarPowerActivate to determine whether notes with the IsStarPowerActivator flag set should have their gem colored with the activation color or the normal color. CanStarPowerActivate does not consider SP activation status, so the gem ends up being purple when it shouldn't be.

This PR conditions the use of the activation color on SP not currently being active when the activator gem is spawned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant