RaphaelRoyerRivard / MicroMachine

Starcraft 2 Bot
MIT License
12 stars 0 forks source link

Handle disabling missile on Tank #1364

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 a tank, we assume its an disabling missile. The tank should unsiege if it is sieged 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.