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
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