Blizzard / Blizzard/s2client-proto

Starport & cloak research issue

Open
#113 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4k
Forks
440
PR merge metrics
No merged PRs in 30d

Description

Hello, I recently added some code into my python-sc2 library based bot and when banshee cloak started to research, my starport lifted up but cloak continued to research and eventually finished.

Seems to be a bug

``` async def build_banshee_and_cloak(self):
for sp in self.units(STARPORTTECHLAB).ready.noqueue:
if not self.already_pending_upgrade(BANSHEECLOAK) and self.can_afford(BANSHEECLOAK):
print("researching cloak!")
self.combinedActions.append(sp.research(BANSHEECLOAK))```

Contributor guide

No contributing guide indexed for this repository

Research direction

The only entry point named is build_banshee_and_cloak in the reported python-sc2 bot code; begin by reproducing the Starport lift and Banshee cloak-research sequence and tracing how the research action is submitted. Done means the behavior is explained and the corrected outcome is covered by a regression test, but the payload names no repository files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.