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