-
Notifications
You must be signed in to change notification settings - Fork 14
Change minimum Speed Booster charge time #398
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
base: main
Are you sure you want to change the base?
Change minimum Speed Booster charge time #398
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #398 +/- ##
=======================================
Coverage 91.97% 91.97%
=======================================
Files 38 38
Lines 2156 2156
=======================================
Hits 1983 1983
Misses 173 173 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…rd their description to account for randovania/open-dread-rando#398
local chargeTime = math.max(0.25, 1.5 - quantity * 0.25) | ||
-- Cannot be <= 0 or else all hell breaks loose. | ||
-- SB activation is very buggy <= 0.5, so we clamp it a tiny bit higher. | ||
local chargeTime = math.max(0.55, 1.5 - quantity * 0.25) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would 0.51 work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't tried it, but that would only be one extra frame beyond when it has a problem (technically it'd be effectively rounded up to 0.5167). 0.55 is 3-4 frames extra.
…rd their description to account for randovania/open-dread-rando#398
… quirk where SB sometimes won't activate correctly after Samus turns around
51b8688
to
c4acb81
Compare
…rd their description to account for randovania/open-dread-rando#398
There is a well-known quirk when you have four or more Speed Booster Upgrades that causes Speed Booster to sometimes fail to activate when buffering it while Samus turns around. Bumping the minimum charge time up to 0.55 seconds seems to fix this in all of my testing, and there's nowhere in logic that requires >= 4 upgrades, so this shouldn't have any logical implications at all. The "effective" maximum number of upgrades you can collect is now 4 instead of 5, but 5 was even buggier than 4 was, so I don't think this is a bad thing.