Function veloren_common::states::utils::checked_tick_attack
source ยท pub fn checked_tick_attack(
data: &JoinData<'_>,
timer: Duration,
other_modifier: Option<f32>,
) -> Option<Duration>
Expand description
Checked Duration
addition. Computes timer
+ dt
, applying relevant stat
attack modifiers and `otcompute_precision_multeturning None if overflow
occurred.