Fixed some bugs + merged with dr1s latest changes [commit ff2c7b0]#22
Open
yosh778 wants to merge 113 commits intowiniciuscota:masterfrom
Open
Fixed some bugs + merged with dr1s latest changes [commit ff2c7b0]#22yosh778 wants to merge 113 commits intowiniciuscota:masterfrom
yosh778 wants to merge 113 commits intowiniciuscota:masterfrom
Conversation
- Fixed defense rate divide 0 exception - Fixed encoding for other languages than english - Fixed auto_build mode - Fixed main.py error
Contributor
|
FYI this seems to include my scheduler implementation. If this gets merged please check the code again as I'm not sure how well it worked. |
Author
|
Ok indeed, I saw many nice improvements on your master branch so I merged the latest with this master branch + some fixes I did. |
Auto-research now attempting research on each planet until one is started or one is already going on
added a function to sort planets by nearest to a target Now attacks will be performed from nearest planets to targets instead of random
ghost
reviewed
Jul 14, 2017
| planet.loot = self.fleet_client.get_attack_loot(planet, target) | ||
|
|
||
| ordered_planets = sorted(self.planets, key=lambda x: x.loot, reverse=True) | ||
| maxLoot = max(self.planets, key=lambda x: x.loot) |
There was a problem hiding this comment.
Thanks for this awesome work to you and Yoshi :)
Author
|
Ok so I made a lot of updates & improvements on my fork, stopped playing recently though cause it's not much fun anymore once you reach a certain level lol |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.