More RTS AI tweaks

This commit is contained in:
Anuken 2022-04-11 10:55:24 -04:00
parent 54d90633e7
commit bdeef68a0b
4 changed files with 6 additions and 6 deletions

Binary file not shown.

View file

@ -172,7 +172,7 @@ public class RtsAI{
//defend when close, or this is the only squad defending
//TODO will always rush to defense no matter what
if(best instanceof CoreBuild || (/*(units.size >= minSquadSize || best.within(ax, ay, 300f)) && */(noDefenders || best.within(ax, ay, 400f)))){
if(best instanceof CoreBuild || units.size >= minSquadSize || best.within(ax, ay, 500f)){
defend = best;
if(debug){

View file

@ -1699,9 +1699,9 @@ public class Blocks{
}};
radar = new Radar("radar"){{
requirements(Category.effect, BuildVisibility.fogOnly, with(Items.silicon, 50, Items.graphite, 50));
requirements(Category.effect, BuildVisibility.fogOnly, with(Items.silicon, 60, Items.graphite, 50));
outlineColor = Color.valueOf("4a4b53");
fogRadius = 33;
fogRadius = 34;
researchCost = with(Items.silicon, 70, Items.graphite, 70);
consumePower(0.6f);
@ -3676,7 +3676,7 @@ public class Blocks{
trailWidth = 2.1f;
trailLength = 10;
hitEffect = despawnEffect = Fx.hitBulletColor;
buildingDamageMultiplier = 0.5f;
buildingDamageMultiplier = 0.4f;
}},
Items.tungsten, new BasicBulletType(8f, 185){{
width = 13f;
@ -3695,7 +3695,7 @@ public class Blocks{
trailLength = 11;
hitEffect = despawnEffect = Fx.hitBulletColor;
rangeChange = 40f;
buildingDamageMultiplier = 0.5f;
buildingDamageMultiplier = 0.4f;
}}
);

View file

@ -18,7 +18,7 @@ public class ErekirTechTree{
static void rebalanceBullet(BulletType bullet){
if(balanced.add(bullet.id)){
bullet.damage *= 0.7f;
bullet.damage *= 0.75f;
}
}