Interface: EntityHurtBeforeEvent
Cancelable event fired before damage is applied to an entity.
Properties
cancel
cancel:
boolean
Set to true before the handler returns to cancel the action.
cause
readonlycause:DamageCause
Normalized cause understood by the current QuestScript surface.
damage
readonlydamage:number
Damage amount that would be applied.
damagingEntity
readonlydamagingEntity:Entity|null
Attacking entity, or null when there is no entity source.
entity
readonlyentity:Entity
Entity that would receive the damage.