예제 #1
0
    def scout_enemy_expansions(self):
        if not self.zone_manager.enemy_start_location_found:
            return

        self.scout_locations.clear()

        self.scout_locations = map_to_point2s_minerals(self.zone_manager.enemy_expansion_zones[0:5])
        self.print(f"Scouting {len(self.scout_locations)} expansions from enemy base towards us")
예제 #2
0
    def scout_enemy_expansions(self):
        if not self.zone_manager.enemy_start_location_found:
            return

        self.scout_locations.clear()

        should_scout = 2
        if self.knowledge.enemy_race == Race.Zerg:
            should_scout = 3

        if self.knowledge.enemy_race == Race.Terran:
            self.scout_locations = map_to_point2s_minerals(
                self.zone_manager.enemy_expansion_zones[1:should_scout])
        else:
            self.scout_locations = map_to_point2s_minerals(
                self.zone_manager.enemy_expansion_zones[0:should_scout])
        self.print(
            f"Scouting {len(self.scout_locations)} expansions from enemy base towards us"
        )