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

Wasps able to hit player while player cannot hit them back due to XY mismatch #58601

Closed
anoobindisguise opened this issue Jun 21, 2022 · 1 comment · Fixed by #71306
Closed
Labels
(S2 - Confirmed) Bug that's been confirmed to exist

Comments

@anoobindisguise
Copy link
Contributor

anoobindisguise commented Jun 21, 2022

Describe the bug

Giant wasps very often fly on the higher Z-level and attack the player from above. However when they do this they are misalligned, as they can hit the player from 1 tile diagonally or horizontally while the player can only hit from directly below a target. I assume this affects more than just wasps but they are the most common example.

in addition, the player cannot see wasps that are on a higher z-level, unlike with lower z-levels. This allows wasps to "sneak up" on the player if you're not constantly changing to the higher z-view when wasps are around since you can't normally see where they are.

Note in the screenshots how the wasp is a tile away from me in addition to above and can hit me while when I press TAB the game simply tells me no enemies are nearby. The solution is to step underneath the wasp obviously but it's very annoying that this has to happen at all.

Steps to reproduce

  1. Find wasps in the city.
  2. Get attacked by wasps.
  3. Observe wasps attacking from the wrong coordinate.

Expected behavior

Wasps should only be able to attack from directly above the player since they do not have reach.

Screenshots

wasp1
wasp2

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19044.1766 (21H2)
  • Game Version: 7ff3302 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    No Fungal Growth [no_fungal_growth],
    Bionic Professions [package_bionic_professions],
    Bionic Slots [cbm_slots]
    ]

Additional context

No response

@anoobindisguise anoobindisguise added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Jun 21, 2022
@hexagonrecursion
Copy link
Contributor

/confirmed I was unable to attack a wasp guard with a katana from 1 z level below and diagonally, but the guard was able to attack me.

I was able to hit the guard from 1 z level below from a vertically or horizontally adjacent tile.

/confirmed There is no indication that a wasp is near on the main screen or minimap in the tiles version.

The wasp guard does show up in the list of monsters above the minimap, but the monster direction indicator (NW, North, NE, ...) does not show where it is.

The wasp guard does trigger safe mode.

You should have mentioned that reproducing this requires enabling experimental 3d field of vision.

  • OS: Linux
    • OS Version:
  • Game Version: f16a8c2 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    No Fungal Growth [no_fungal_growth],
    Bionic Professions [package_bionic_professions]
    ]

@github-actions github-actions bot added (S2 - Confirmed) Bug that's been confirmed to exist and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S2 - Confirmed) Bug that's been confirmed to exist
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants