DarkflameServer icon indicating copy to clipboard operation
DarkflameServer copied to clipboard

BUG: enemies, summons etc stay aggro'd onto other entities that have died

Open Terrev opened this issue 1 year ago • 0 comments

Make sure you've done the following:

  • [X] I have checked that this issue has not already been reported.

  • [X] I have validated that this issue is not a syntax error of either MySQL or SQLite.

  • [X] I have pulled the latest version of the main branch of DarkflameServer and have confirmed that the issue exists there.

DarkflameServer Version

yeah baby

Issue Description

enemies will remain aggro'd onto a player who is dead

this results in them just standing there in front of where the player they were attacking died, doing nothing - sitting ducks for other players. this is especially noticeable in, for example, BoNS where players may remain dead for a long time

while not relevant to the main game, enemies with death behavior 0 (12 second delayed despawn so their death animation plays) have the same effect on player summons (i.e. spawn a darkling with death behavior 0, summon wingreaper owls or any other player summon, and watch them hover over the dead enemy once they kill it - occasionally even continuing to attack even though the enemy is already dead)

Reproduction Steps

die to an enemy, observe that the enemy remains aggro'd onto you and stands in place

Expected Behavior

dead entities should not be valid for aggro

Environment

image

Terrev avatar Jan 19 '24 23:01 Terrev