DrInfy / sharpy-sc2

Python framework for rapid development of Starcraft 2 AI bots
MIT License
69 stars 28 forks source link

micro rules class allows more micro customization #62

Closed DrInfy closed 4 years ago

DrInfy commented 4 years ago

micro rules class added that can be customized and most of the code moved from micro_step to default micro methods that handles the implementation details in separate methods that can be passed around and changes freely.

GroupCombatManager now has a default set of micro rules with unit dictionaries in it, but they can be temporarily overridden by passing a MicroRules class to self.combat.execute method.