python-sc2 icon indicating copy to clipboard operation
python-sc2 copied to clipboard

Improve "on_unit_took_damage" docstring

Open BurnySc2 opened this issue 3 years ago • 0 comments

Developers that rarely play SC2 should be made aware of the exceptions that would want to be handled, such as: Stimming, transforming units into having less HP (hellbat -> hellion), abilities (viper consume), terran structures burning down, zerg structures being off creep, perhaps splash damage.

Location of docstring to be edited: https://github.com/BurnySc2/python-sc2/blob/40dc00a01544d1405ad15b25ae6250a2e9382ec9/sc2/bot_ai.py#L1271

BurnySc2 avatar Aug 19 '22 15:08 BurnySc2