From 95c0ab761a5f66da2eb4714a38b0066d5d23ea5a Mon Sep 17 00:00:00 2001 From: Thefeli73 Date: Thu, 8 Oct 2020 03:50:33 +0200 Subject: [PATCH] round buffer --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 80bf4de..0db1d89 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ time_until_run_ends = 90 money_reserve_multiplier = 0 temp_acc_multiplier = 1.125 rounds_between_energy = 5 -round_buffer = 0 +round_buffer = 78 # vars EMA_temp = None @@ -457,7 +457,7 @@ def build_place(structure, i): if coords_to_check == available_tiles[i]: available_tiles[i] = building building_under_construction = (building.X, building.Y, j) - rounds_between_energy = len(state.residences)+1 + rounds_between_energy = len(state.residences)+2 return True for j in range(len(state.utilities)): building = state.utilities[j] @@ -480,7 +480,7 @@ def build(structure): if coords_to_check == available_tiles[i]: available_tiles[i] = building building_under_construction = (building.X, building.Y, j) - rounds_between_energy = len(state.residences)+1 + rounds_between_energy = len(state.residences)+2 return True for j in range(len(state.utilities)): building = state.utilities[j]