BurnySc2
BurnySc2
Can you give me an example of in which situation it currently fails? Edit: It seems in the context of ```py pending_upgrades = [upgrade for upgrade in UpgradeId if self.already_pending_upgrade(upgrade)...
I can't easily identify your changes because the changes + autoformatting were done in one commit :frowning:
The issue with overshooting the worker count to 24 instead of the wanted 22 is due to 2 workers being in the Assimilator, which means they will not be included...
According to https://github.com/BurnySc2/sc2-techtree/blob/develop/data/data_readable.json Sentry, Void Ray, Oracle and Carrier are also missing weapons, aswell as probably some other units.
From a conversation I had in discord, it seems this PR aims to return `0` whenever an UpgradeId was given as argument, that is not in the game (but in...
You should be able to change the path the library tries to find SC2 by setting/changing the environment variable: ``` SC2PATH='/home/burny/Games/battlenet/drive_c/Program Files (x86)/StarCraft II/' ```
I'm going to decline this PR for now because I am unable to review it with most of the changes being formatting changes by `Black` formatter, even though I already...
I'd like to add a test that runs the `watch_replay.py` file in CI, so that I get notified every time I break the Observer class. But for that I need...
Can you include a minimally failing example, or a bigger code snippet on how you are calling the functions? Also have you tried the GameMatch runner? https://github.com/BurnySc2/python-sc2/blob/76e4a435732d4359e5bd9e15b6283a0498e212ca/sc2/main.py#L40 An example can...
You should be able to produce some kind of mapping (via identical enum values aka ability IDs) here: https://github.com/BurnySc2/python-sc2/blob/7b4a3d56070dca6cf08ea592d3c3b6363a5a1897/sc2/game_data.py#L30-L35 An instance of this class is accessible through the bot instance...