fn build_damage_profile( direct: f64, periodic: f64, pet: f64, damage_by_target: &FastMap<EnemyIdx, f64>, ) -> DamageProfileData