diff options
author | Anthony Wang | 2021-06-05 15:34:57 +0000 |
---|---|---|
committer | Anthony Wang | 2021-06-05 15:34:57 +0000 |
commit | 5ea36e60c86d9d032ec61c34382cf443290bfc77 (patch) | |
tree | efaa1135760074bc71780ef0785935b2fcb769f2 | |
parent | a1ac06dfd141fe3b83ad4a9fdb7ca6e18520998f (diff) |
Attempt to upgrade turrents too
-rw-r--r-- | python-algo/algo_strategy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python-algo/algo_strategy.py b/python-algo/algo_strategy.py index e16de1b..cbb9e41 100644 --- a/python-algo/algo_strategy.py +++ b/python-algo/algo_strategy.py @@ -149,6 +149,9 @@ class AlgoStrategy(gamelib.AlgoCore): # Place walls in front of turrets to soak up damage for them wall_locations = [[1, 13], [3, 13], [5, 13], [7, 13], [9, 13], [11, 13], [13, 13], [14, 13], [16, 13], [18, 13], [20, 13], [22, 13], [24, 13], [26, 13], [0, 13], [2, 13], [4, 13], [6, 13], [10, 13], [12, 13], [15, 13], [17, 13], [19, 13], [21, 13], [23, 13], [25, 13], [27, 13]] game_state.attempt_spawn(WALL, wall_locations) + + game_state.attempt_upgrade(turrent_locations) + # upgrade walls so they soak more damage game_state.attempt_upgrade(wall_locations) |