Function power_adjust

Source
pub fn power_adjust(ctx: &PartyPowerAdjustCtx<'_>) -> Result<i64>
Expand description

Native port of the shipped power_adjust_script: clamp the party member’s power into [floor(0.5 * player), floor(1.1 * player)].

does after the FLOAT promotion) and narrowed to i64 last.