Skip to content

REVO / API version 0.0.10

IDamageEvent

Referenced entities may be destroyed after the callback.

Property Type Details
component
readonly
number | null Collision component. null for explosions and fire.
damage
readonly
number Damage requested by the hit. The final health loss may differ.
source
readonly
Player | null —
target
readonly
Physical —
type
readonly
DamageType —
weapon
readonly
number —

Weapons and ammunition