Constant screeps::constants::power::POWER_BANK_RESPAWN_TIME
source ยท pub const POWER_BANK_RESPAWN_TIME: u32 = 50_000;
Expand description
Base value for power bank respawn time calculation.
Calculated respawn time falls randomly in a range from 50% to 125% of this value. Determined by the formula (source):
respawnTime = Math.round(Math.random() * POWER_BANK_RESPAWN_TIME / 2 + POWER_BANK_RESPAWN_TIME * 0.75)