Contains information related to an entity when its health changes. Warning: don't change the health of an entity in this event, or it will cause an infinite loop!

Hierarchy

  • EntityHealthChangedAfterEvent

Constructors

Properties

Constructors

Properties

entity: Entity

Remarks

Entity whose health changed.

newValue: number

Remarks

New health value of the entity.

oldValue: number

Remarks

Old health value of the entity.