-
Notifications
You must be signed in to change notification settings - Fork 121
Fix for Ion's Aegis Laser Core Duration #964
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?
Conversation
Alystrasz
left a comment
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.
Have you tested this change?
| float coreFrac = min( 1.0, remainingTime / duration ) | ||
| //Defensive fix for this sometimes resulting in a negative value. | ||
| if ( coreFrac > 0.0 ) | ||
| if ( coreFrac > 0.01 ) |
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.
Why changing this value?
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.
Ends the state of Core active early and is actually what prevents Ion from getting stuck in there after the laser finishes.
|
This sounds like a bug in how vanilla implements it, I thought we don't fix those unless it's some heavy issue like the splitter rifle dps |
|
Ion not being able to gain core back if the laser ends prematurely in comparison to the core meter is quite important in FD, mind that this is an Aegis Laser Core fix, it does not affect Ion in normal core even with Grand Cannon kit. |
|
how to test this? |
Max aegis Ion -> laser core -> kill a bunch of stuff with the core -> core should end at the right time (should match UI in the bottom left) |
From discord:
Laser Core was supposed to have extended sustain like Sword Core as long as kills are being made to stack up the time, however Laser Core ends early if nothing is killed in a 5 second window, despite the core meter saying it is active, it just ends prematurely, and with the core meter being stuck in the active state when it is no longer active entirely prevents Ion from building up core again