AI bugfixes / Balance

This commit is contained in:
Anuken
2020-07-29 21:09:58 -04:00
parent 1e7aaac3d4
commit 9bf3074aee
7 changed files with 42 additions and 49 deletions

View File

@@ -33,7 +33,12 @@ public class FlyingAI extends AIController{
boolean shoot = false;
if(target != null && unit.hasWeapons()){
attack(80f);
if(unit.type().weapons.first().rotate){
moveTo(unit.range() * 0.85f);
unit.lookAt(target);
}else{
attack(80f);
}
shoot = unit.inRange(target);