Dentosal / python-sc2

A StarCraft II bot api client library for Python 3
MIT License
585 stars 182 forks source link

How to ask Queen EFFECT_INJECTLARVA"v" to hatcherys each one #309

Open ghost opened 3 years ago

ghost commented 3 years ago

for queen in self.units(sc2.constants.QUEEN).idle: abilities = await self.get_available_abilities(queen) if AbilityId.EFFECT_INJECTLARVA in abilities: await self.do(queen(sc2.constants.EFFECT_INJECTLARVA, hatcherys.random))

I write like that but several queen Inject eggs into the same target i want to ask one queen link one Hatcherys how should i do thanks very much