CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.01k stars 4.09k forks source link

Unable to attack enemy who phases through boat hull & floor (giant dragonfly naiad) #74945

Open Swootch opened 3 weeks ago

Swootch commented 3 weeks ago

Describe the bug

An enemy (giant dragonfly naiad) regularly phases into my boat, stays on it, attacks me and can't be attacked back with no message given as to why.

Attach save file

Satellite Beach-trimmed.tar.gz

Steps to reproduce

  1. Find a boat and cruise around.
  2. Eventually a giant dragonfly naiad will lock eyes with you.
  3. It somehow manages to get into a bugged state that allows it to attack you without any retaliation possible.

Expected behavior

Monsters can't attack you without a valid way to reach you. Monsters that can attack you can be attacked back. If they can't be attacked back in a valid way, a message displays the reason.

Screenshots

45645646

Versions and configuration

Additional context

This was not the first instance of this happening, I had to debug teleport that bugger out of my vehicle before in order to get rid of it. It seems like maybe the special attack they have might have something to do with being able to attack through vehicle walls or floors (special attack: stretch_attack)?

PatrikLundell commented 3 weeks ago

Probably a version of #57580.

Was the monster able to hit you?

The reason I ask is that the rather old outstanding bug left you in a situation where you could attack, but never hit, while the monster didn't attack back. However, if this monster has a reach attack it might be able to bypass the condition that renders other bugged vehicle riders unable to attack.

Swootch commented 3 weeks ago

When I try to move into the monster, the game seems to try and make me execute an attack, there's the usual attack animation thing that briefly flashes on the attacked monster, but no attack seems to arrive at the monster, no time passes, and the log also indicates that nothing happened at all. If I pass a turn, the monster very much attacks everything it can, including me and my companion.