Function build_law_bridge_charges

Source
pub fn build_law_bridge_charges(
    config: &GameConfig,
    cores: &CoresState,
    mods: &LawColumnMods,
) -> LawBridgeCharges
Expand description

Builds the live bridge charges from the character’s bridges. A bridge is live only when BOTH of its laws are slotted — an unslotted law is not on a core, so it can neither fill a charge nor receive one.

The capacity and the amplification ceiling this combatant plays against are baked in here, once: the Bridge Law socket moves both per player, and every later read (resonance banking, amplification, the passive strip-and-refold) takes them off the charges rather than off config.