pub(crate) fn gain_resource_with_procs( ctx: &mut CombatCtx<'_>, gain: ResourceGain, secondary: bool, ) -> (f64, f64)