Blizzard / s2client-api

StarCraft II Client - C++ library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
1.66k stars 281 forks source link

Expose weapon firing cycle for enemy units? #197

Open Dalas121 opened 7 years ago

Dalas121 commented 7 years ago

Right now there isn't any way to know when an enemy unit has attacked, aside from tracking damage on your own units and guessing. It would be extremely useful (and match what a human could infer from animations) to expose more information about the firing cycle of enemy units, such as weapon_cooldown (which is currently only set for player-owned units).

vsugrob commented 6 years ago

Lack of such kind of data is the only thing that stops me from diving into programming my own micro-oriented bot.