Replaced unit hitpoints with toughness (hitpoints + shields) in MicroManager::getTarget method
Improved Wraith micro:
- Pylon priority is higher than other buildings
- Enemy range is calculated properely
- SC crashed once before this commit
- Modified selected unit weapon cooldown to work properly for flyers
Added advancing towards target for Wraiths. Much improved efficiency
Changed advancing towards target (distance condition was always met)
Improved kiting
Started implementing avoiding turrets for WraithManagerExt:
- Added _noTurretTargetsNo variable to track how many no turret targets there are
- Added isInWeapon range method and replaced similar code with this method
- Added isInTurretRange method
- Added getSafeTurretPosition method
Added Battlecruisers to build order
Changes to build order
- Added barracks to Wraith Rush 1 Port build order
- Updated ProductionManager::doSomething method
Fixed minor bugs in waypoints movement:
- Added getDestination method to UnitDataExt
- Added eraseWaypoints method to UnitDataExt
- Fixed UnitManagerExt set waypoints method to recompute them when new order position was set
- Added validation of waypoints position to WaypointCreatorExt
Improved Wraith Rush 1 Port build order:
- Added queueDoSomethingTerranWraithRush1Port method to ProducitonManager
Merge branch 'feature/wraith_micro' into develop