CleverRaven / CleverRaven/Cataclysm-DDA
Firing a gun reaims to the monster i indirectly killed instead of the nearest living monster
Open
Nobody has claimed this yet.
(S2 - Confirmed)
- Dominant language
- C++
- Stars
- 13.2k
- Forks
- 4.6k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 205
Description
Describe the bug
I noticed whenever i let a zed i shot to die by bleeding or otherwise indirectly kill(?) them, the (f)iring menu reaims to the corpse of said monster instead of aiming the nearest living monster.
Attach save file
N/A
Steps to reproduce
- Spawn in some zeds and a gun,
- Shoot a zed till it bleed and let it bleed to death,
- After it dies, (f)ire the gun and see it aims to the zed who died to bleeding out.
Expected behavior
Aiming the nearest living monster.
Screenshots
No response
Versions and configuration
- OS: Android
- OS Version: Manufacturer: samsung; Model: SM-A710F; Release: 7.0; Incremental: A710FXXU2CRC2;
- Game Version: dd08bab [32-bit]
- Graphics Version: Tiles
- Game Language: English [en]
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Slowdown Fungal Growth [no_fungal_growth],
Portal Storms Ignore NPCs [personal_portal_storms],
Mind Over Matter [mindovermatter],
Bombastic Perks [bombastic_perks],
Xedra Evolved [xedra_evolved],
GUT's Contents Compendium [gut_contents_compendium],
GUT's Unhinged Stuff [gut_unhinged_stuff],
GUT's Tweak Compendium [gut_tweaks_compendium]
]
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported sequence: let a bleeding monster die, then open the firing menu near another living monster. Trace the targeting behavior involved in firing and verify that dead monsters are excluded. Done means firing selects the nearest living monster rather than the corpse.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100