Skip to content

Improve EffectiveDistance precision in target bars#249

Merged
ngld merged 2 commits intongld:masterfrom
quisquous:mob_center
Apr 12, 2022
Merged

Improve EffectiveDistance precision in target bars#249
ngld merged 2 commits intongld:masterfrom
quisquous:mob_center

Conversation

@quisquous
Copy link
Copy Markdown

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
Copy Markdown
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