RaphaelRoyerRivard / MicroMachine

Starcraft 2 Bot
MIT License
12 stars 0 forks source link

Handle disabling missile on BattleCruiser #1363

Open Unusual229 opened 3 years ago

Unusual229 commented 3 years ago

When a raven energy drops by 75 (or 74 because of regen), check the rotation of the raven. If the targeted unit type is BC, we assume its an disabling missile. The BC should teleport if it can or flee otherwise. The cast range is 9. If we have multiple units that are perfectly aligned with the raven rotation, assume its the furthest unit, not sure how many decimals there are, this might not be necessary.