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

Fixed of m_lastDamageAmount recording during armor calculation #857

Merged
merged 1 commit into from
Sep 5, 2023
Merged

Fixed of m_lastDamageAmount recording during armor calculation #857

merged 1 commit into from
Sep 5, 2023

Conversation

Javekson
Copy link
Contributor

This fix addresses an issue with the inaccurate recording of the last damage (m_lastDamageAmount) due to incorrect sequencing of operations in the code. In the original code, damage was recorded before it was adjusted based on armor, potentially resulting in the storage of incorrect data. This bug could affect precise damage calculations and gameplay analysis, particularly when tracking and assessing damage over time.

This fix addresses an issue with the inaccurate recording of the last damage (m_lastDamageAmount) due to incorrect sequencing of operations in the code. In the original code, damage was recorded before it was adjusted based on armor, potentially resulting in the storage of incorrect data. This bug could affect precise damage calculations and gameplay analysis, particularly when tracking and assessing damage over time.
@s1lentq s1lentq merged commit 728f1fc into s1lentq:master Sep 5, 2023
4 checks passed
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.

2 participants