Category: Objects / Status
Since engine version: 1.0 OC
Adjusts the damage value of an object. If a change is made, the callback 'Damage' is made in the target object.
void DoDamage(int change, int damage_type, int caused_by);
- Change of damage value (positive or negative).
- [opt] Damage cause specification which is to be passed to Fx*Damage callbacks of effects (see effect documentation). Default is FX_Call_DmgScript.
- [opt] Number of the player who has caused the damage.
See also: GetDamage