Skip to content

Improve EffectiveDistance precision in target bars #249

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

Merged
merged 2 commits into from
Apr 12, 2022

Conversation

quisquous
Copy link

EffectiveDistance is just a (rounded) byte and so is not that useful
for determining exact distances from boss mechanics. This PR
changes EffectiveDistance to be a float based on the Radius when
on 6.x. For backwards compatibility, pre-6.x users will get the
rounded byte.

Belated thanks to @KattTails for the memory location for radius!

EffectiveDistance is just a (rounded) byte and so is not that useful
for determining exact distances from boss mechanics.  This PR
changes EffectiveDistance to be a float based on the Radius when
on 6.x.  For backwards compatibility, pre-6.x users will get the
rounded byte.

Belated thanks to @KattTails for the memory location for radius!
@ngld ngld merged commit 73b8826 into ngld:master Apr 12, 2022
@ngld
Copy link
Owner

ngld commented Apr 12, 2022

Thanks!! And sorry for the late merge.

ngld pushed a commit that referenced this pull request Jun 29, 2024
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