Misc tweaks
This commit is contained in:
@@ -238,12 +238,13 @@ public class RtsAI{
|
|||||||
}else{
|
}else{
|
||||||
//TODO stopAtTarget parameter could be false, could be tweaked
|
//TODO stopAtTarget parameter could be false, could be tweaked
|
||||||
unit.command().commandTarget(defendTarget == null ? build : defendTarget, defendTarget != null);
|
unit.command().commandTarget(defendTarget == null ? build : defendTarget, defendTarget != null);
|
||||||
|
}
|
||||||
|
|
||||||
//assign a flag, so it will be "mobilized" more easily later
|
//assign a flag, so it will be "mobilized" more easily later
|
||||||
unit.flag = 1;
|
unit.flag = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return anyDefend;
|
return anyDefend;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ public class CellLiquid extends Liquid{
|
|||||||
public int cells = 8;
|
public int cells = 8;
|
||||||
|
|
||||||
public @Nullable Liquid spreadTarget;
|
public @Nullable Liquid spreadTarget;
|
||||||
public float maxSpread = 0.75f, spreadConversion = 1f, spreadDamage = 0.1f, removeScaling = 0.25f;
|
public float maxSpread = 0.75f, spreadConversion = 1.2f, spreadDamage = 0.11f, removeScaling = 0.25f;
|
||||||
|
|
||||||
public CellLiquid(String name, Color color){
|
public CellLiquid(String name, Color color){
|
||||||
super(name, color);
|
super(name, color);
|
||||||
|
|||||||
Reference in New Issue
Block a user