Project-Poseidon icon indicating copy to clipboard operation
Project-Poseidon copied to clipboard

Misleading behavior of `EntityDamageByEntityEvent`

Open zavdav opened this issue 7 months ago • 2 comments

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.

zavdav avatar Jun 06 '25 22:06 zavdav