Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Focus on mystery nodes #102

Merged
merged 2 commits into from
Mar 12, 2020
Merged

Conversation

hjk22
Copy link
Collaborator

@hjk22 hjk22 commented Mar 12, 2020

Addressing issue #38
Two new options have been added to the configuration file to better customize the bot's behavior related to mystery nodes:

  • IgnoreMysteryNodes option enables/disables the search for mystery nodes, i.e. if set to True the bot skips the search for said nodes, but if they are on its path to a target they still get picked up;
  • FocusOnMysteryNodes option forces the bot to first target mystery nodes (if set to True) even if there are enemies closer to the clearing fleet.

hjk22 added 2 commits March 10, 2020 20:13
- Extracted the search for mystery nodes to a new method (get_mystery_nodes).
- Renamed self.l to self.enemies_list.
- Added mystery_nodes_list to combat's instance variables.
- Added filter_coordinates variable to avoid filtering when not necessary.
- Added show_on_screen method to Utils (useful for testing/debugging).
- Added two new options to better customize bot's behavior related to mystery nodes.
- Optmized swipe for map 7-2.
@hjk22 hjk22 merged commit a5b5948 into Egoistically:master Mar 12, 2020
@hjk22 hjk22 deleted the focus-on-mystery-nodes branch March 15, 2020 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant