Function veloren_server_agent::util::should_let_target_escape
source ยท fn should_let_target_escape(
dist_to_home_sqrd: f32,
dur_since_last_attacked: f64,
own_health_fraction: f32,
) -> f32
Expand description
Scores the benefit of letting the target escape in a value from 0 to infinity.