Skip to content

Misleading behavior of EntityDamageByEntityEvent #153

@zavdav

Description

@zavdav

One would expect EntityDamageByEntityEvent to fire when an entity inflicts damage on another entity.
However, I've found out that EntityDamageByEntityEvent is fired everytime a player left-clicks an entity, regardless if the hit would not be effective due to invincibility frames. The damage field in EntityDamageByEntityEvent also does not represent the actual damage the entity took, but rather the weapon damage of the attacking entity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions