Declaration
event OnDealDamage(target entity<Entity>, damageType DamageType, damage int, damagedBodyPart DamagedBodyPartType)
go
Parameters
Name | Type | Description |
---|---|---|
Target | Entity | Entity taking damage |
Damage Type | DamageType | Damage Type |
Damage | Int | Amount of damage caused |
Damaged Body Part | HitBodyPart | Hit Body Part |