Skip to content
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

You can aim at monsters even if you can't see them #78091

Open
GuardianDll opened this issue Nov 23, 2024 · 1 comment
Open

You can aim at monsters even if you can't see them #78091

GuardianDll opened this issue Nov 23, 2024 · 1 comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@GuardianDll
Copy link
Member

Describe the bug

As title says

Attach save file

N/A

Steps to reproduce

Spawn debug monster in the place you can't see it
Aim a gun where the monster supposed to be
See that aiming reveal the enemy that you should not be able to target, and even allows you to somewhat succesfully shoot it

Expected behavior

UI not changing it's values if you aim at monster you can't see

Screenshots

Me aiming at debug monster
image
Me aiming one tile right to debug monster
image

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19045.5131 (22H2)
  • Game Version: 9ac7d05 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Portal Storms Ignore NPCs [personal_portal_storms],
    Slowdown Fungal Growth [no_fungal_growth],
    Magiclysm [magiclysm]
    ]

Additional context

The only i know is that it does not happen in calculate_aim_cap() as i initially thought

@GuardianDll GuardianDll added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Nov 23, 2024
@mqrause
Copy link
Contributor

mqrause commented Nov 23, 2024

From a quick glance, the issue is the Target_attributes struct that's passed to confidence_estimate. While it has a visible member, for one that's not used in the calculations, and on top of that an empty tile has different target attributes than an enemy on an invisible tile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

No branches or pull requests

2 participants