On Deal Damage

Combat
Server Side
Both Mobile and PC
Owner:
Combatable

Triggered after the current entity deals damage

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