REVO / API version 0.0.10
IDamageEvent
Referenced entities may be destroyed after the callback.
Properties
Section titled “Properties”| Property | Type | Details |
|---|---|---|
component |
number | null |
Collision component. null for explosions and fire. |
damage |
number |
Damage requested by the hit. The final health loss may differ. |
source |
Player | null |
— |
target |
Physical |
— |
type |
DamageType |
— |
weapon |
number |
— |