s2client-api
s2client-api copied to clipboard
Expose weapon firing cycle for enemy units?
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).
Lack of such kind of data is the only thing that stops me from diving into programming my own micro-oriented bot.