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

BuffService refactor #1537

Merged

Conversation

madsboddum
Copy link
Member

@madsboddum madsboddum commented Jun 5, 2024

There's probably more that can be done, but I think it's in pretty good shape now.

There's also a bugfix in here

Re-applying a buff doesn't reset the timer.
Can be reproduced by applying Center of Being rapidly, as it has completed cool down before the buff expires.

The fix is re-scheduling the buff expiration in case the buff hasn't expired yet and to do so recursively until the buff should be expired.

…) to just one way (CRC), to help reduce code complexity

There was also a bug with re-applying the same buff, where the timer would not reset.
@madsboddum madsboddum self-assigned this Jun 5, 2024
@madsboddum madsboddum added the BUGFIX Fix of a bug (Pull Request) label Jun 5, 2024
@madsboddum madsboddum added the IMPROVEMENT Enhancement of an existing feature label Jun 5, 2024
@Josh-Larson Josh-Larson merged commit f1afc5c into ProjectSWGCore:master Jun 7, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUGFIX Fix of a bug (Pull Request) IMPROVEMENT Enhancement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants