CleverRaven / CleverRaven/Cataclysm-DDA
Targeting enemies on different z-levels doesn't seem right.
- Dominant language
- C++
- Stars
- 13.1k
- Forks
- 4.6k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 200
Description
**Describe the bug**
Sometimes my aim doesn't start where my character is, but seems drawn to a certain area and I can't shoot further than tiles adjacent to my character. Two different bows in perfect and near-perfect condition with the same behaviour. Aiming with a mouse seems to work in the same circumstances and with the same target.
**To Reproduce**
Steps to reproduce the behavior:
1. Load the save.
2. Try to aim and shoot, walk around a bit,
3. Sometimes aim doesn't work.
**Expected behavior**
I expect my arrows to move in the general direction of my aim and not fall around my character.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Versions and configuration(please complete the following information):**
- OS: Debian stable
- Game Version: 0.D-2247-g97d7e5b888
- Graphics version: curses
- Mods loaded: [
"dda",
"no_npc_food",
"filthy_morale",
"novitamins",
"craftgp",
"safeautodoc",
"brightnights",
"generic_guns",
"makeshift",
"More_Survival_Tools",
"crazy_cataclysm"
]
**Additional context**
Add any other context about the problem here.
E.g. A link to a savegame that allows the issue to be reproduced.
World folder: https://drive.google.com/open?id=1vkixPhmkiVCesc0SW7vBBKQSt-LhQh9K



Aiming with a mouse:

Contributor guide
Research direction
Start by loading the linked world save in the curses graphics version and reproduce the intermittent keyboard-aiming failure across z-levels, comparing it with mouse aiming. Inspect the aiming and projectile behavior involved in the reported case; done means arrows travel in the intended direction and are not limited to tiles adjacent to the character.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100