pub fn power_adjust_scalar(player_power: i64, party_power: i64) -> i64Expand description
Clamp party_power into [floor(0.5 * player_power), floor(1.1 * player_power)].
Scalar form so callers that already hold both power values (e.g. party-preview
assembly) avoid fetching a full CharacterState just to read .character.power.