Function core_multiplier

Source
pub fn core_multiplier(config: &GameConfig, cores: &CoresState) -> f64
Expand description

The PER-STAT multiplier for the product of the two core levels — BAL-010’s M_stat = (1 + min(P/5, sqrt(P) − 0.2))^(1/2.75) (configs::cores::core_stat_multiplier owns the arithmetic).

Product 0 (any character with an un-levelled core) gets ×1.0 — that is what makes “a character with no cores plays exactly as before” (acceptance #14) true by construction. The config parameter is kept so a future config knob has an obvious home and every caller already threads it.