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
Missed ranged attacks go wildly astray #18889
Comments
I think this originally got broken in c77a51f |
mutability
added a commit
to mutability/Cataclysm-DDA
that referenced
this issue
Oct 19, 2016
Coolthulhu
pushed a commit
that referenced
this issue
Oct 20, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that ranged attacks are either exactly on target (right tile) or wildly off target (miss by large angles), there is very little middle ground.
From a quick look, this is pretty suspicious (ranged.cpp, Creature::projectile_attack, in the "missed by at least one tile" path):
This should be
ARCMIN( dispersion )
notdispersion / ARCMIN( 1 )
if I'm reading the unit conversions right? dispersion is measured directly in arc-minutes AFAICS.The text was updated successfully, but these errors were encountered: