Skip to content

Feature/better empire energy balance

username-removed-1366030 requested to merge feature/betterEmpireEnergyBalance into dev

Prevents energy balance thrashing. New logic will only take energy from an RCL8 room whose energy storage will remain above MAX_STORAGE_ENERGY after the balance transfer. The receiving rooms will only be rooms who have not yet reached their MAX_STORAGE_ENERGY. Also new const to alter the amount of the transfer easily.

Merge request reports