diasurgical/devilutionX

[Issue Report]: Knockback Affects Dead Players

Open

#8039 opened on Jun 25, 2025

View on GitHub
 (6 comments) (1 reaction) (0 assignees)C++ (7,255 stars) (743 forks)batch import
buggood first issue

Description

Operating System

Windows x64

DevilutionX version

Custom build (please specify commit ID)

Describe

If a player is attacked with a monster's charge attack (such as from a Rhino or Goats using Rhino AI) and the player is dead, their corpse will be pushed back a tile (if possible) by the attack.

Encountered on commit b979b48bd of DAPI integration PR.

To Reproduce

  1. Go to a floor with enemies that use charge attacks that can cause knockback.
  2. Die with some of the enemies far enough away to trigger the attack and with a clear line of sight
  3. Wait for them to use the charge attack on your corpse.

Expected Behavior

Players should not be impacted by knockback after death.

Additional context

Clip of this happening on an AI run: https://www.twitch.tv/nitekat/clip/SullenOpenSalamanderBrokeBack-j_ey552Dc-n8_Tl5

Contributor guide