Function ssbm_utils::checks::get_damage_taken

source ·
pub fn get_damage_taken(curr_percent: f32, prev_percent: f32) -> f32
Expand description

Returns the difference between current percent and previous percent, clamped to 0 to prevent respawn from returning negative values

Minimum Slippi Version: 0.1.0