Skip to content

YaDamage

Damage Information structure in "DamageableComponent.DamagedEvent"

Properties

boolean IsFromTeam
Returns true if the damage comes from a team.
YaEntity Enemy
Returns the one who causes the damage/heal.
number Amount
Returns the amount of damage/heal. Negative amount means a heal.