This commit is contained in:
Anuken
2020-12-15 14:15:06 -05:00
parent 659c481c83
commit 6ab96e2787
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ public class FlyingAI extends AIController{
@Override
public void updateMovement(){
if(target != null && unit.hasWeapons() && command() == UnitCommand.attack){
if(unit.type.circleTarget){
if(!unit.type.circleTarget){
moveTo(target, unit.range() * 0.8f);
unit.lookAt(target);
}else{

View File

@@ -46,7 +46,7 @@ public class UnitType extends UnlockableContent{
public float health = 200f, range = -1, armor = 0f, maxRange = -1f;
public float crashDamageMultiplier = 1f;
public boolean targetAir = true, targetGround = true;
public boolean faceTarget = true, rotateShooting = true, isCounted = true, lowAltitude = false, circleTarget = true;
public boolean faceTarget = true, rotateShooting = true, isCounted = true, lowAltitude = false, circleTarget = false;
public boolean canBoost = false;
public boolean destructibleWreck = true;
public float groundLayer = Layer.groundUnit;