Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upMissed ranged attacks go wildly astray #18889
Comments
This comment has been minimized.
This comment has been minimized.
|
I think this originally got broken in c77a51f |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
mutability
added a commit
to mutability/Cataclysm-DDA
that referenced
this issue
Oct 19, 2016
mutability
referenced this issue
Oct 19, 2016
Merged
Correct the spread of missed ranged attacks. #18903
Coolthulhu
closed this
in
#18903
Oct 20, 2016
Coolthulhu
added 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


mutability commentedOct 18, 2016
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.