Calculates the repair tick of any ship part based on the parts resilience value and the casing cost (or the base resilience value, the material used for the casing and the casing cost).