vgstation-coders / vgstation13

Butts
GNU Affero General Public License v3.0
265 stars 544 forks source link

Pointblanking someone diagonally from you can hit someone next to you. #25458

Open Dacendeth opened 4 years ago

Dacendeth commented 4 years ago

Description of issue

Point blanking uses ranged projectile movement so in the case of diagonals it has to go cardinal directions and sometimes hits the wrong target.

Difference between expected and actual behavior

Point blanking always hitting the target i click on Point blanking sometimes friendly firing based on positions.

Steps to reproduce

image point blank the top one and watch the right one get hit.

Length of time in which bug has been known to occur

Long time.

DeityLink commented 4 years ago

That's kind of an unavoidable issue due to the way projectiles move. (when moving diagonally northeast, they have to first go either east or north, then the other).

In the situation of that pic, if you want to be sure to hit the top guy, you should probably fire on the tile above him.