Skip to main content

apply_regen_interruptions

Function apply_regen_interruptions 

Source
fn apply_regen_interruptions(
    rate: f64,
    primary_type: Option<ResourceType>,
    interrupted: bool,
    interrupted_percent: f64,
    prevented_mask: u64,
) -> f64