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

Add HardRock position mangling for CatchTheBeat #2366

Merged
merged 4 commits into from
Apr 18, 2018

Conversation

tgi74
Copy link
Contributor

@tgi74 tgi74 commented Apr 8, 2018

This code is from stable (see #1582).
Changed a bit to match lazer's ctb implementation.

Closes #1582

{
bool right = RNG.NextBool();

float rand = Math.Min(20, (float)RNG.NextDouble(0, timeDiff / 4));

This comment was marked as off-topic.


public void ApplyToHitObject(CatchHitObject hitObject)
{
// Code from Stable, we keep calculation on a scale of 0 to 512

This comment was marked as off-topic.

@peppy peppy merged commit 69a91c6 into ppy:master Apr 18, 2018
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.

3 participants