Sets the amount of damage for the specified player.
Argument | Type | Description |
---|---|---|
player | :real | ID of the player to set the damage of |
value | :real | The value to set |
Example, called from attack_update.gml:
// fully heals your character at the end of window 2:
if (window == 2 && window_timer == 200) {
set_player_damage( player, 0 );
}